Are you getting “page not found” or “Object not found” error after activating the permalinks in WordPress and SEO friendly URL in Joomla or any other while working on Localhost of your computer? Here is the solution to make them working on the Localhost, Apache, Xampp.

By default installation of Xampp on Windows, the mod rewriting is disabled in Apache. Which can be enabled through the following steps:-

Step 1:- Open the xampp/apache/httpd.conf file in notepad or any text editor like notepad++.

Step 2:- Find #LoadModule rewrite_module modules/mod_rewrite.so

Step 3:- Remove the # from the beginning, so that it looks like LoadModule rewrite_module modules/mod_rewrite.so

The above step will enable the Mod Rewrite module in Apache.

Step 4:- Now find
# AllowOverride controls what directives may be placed in .htaccess files.

You will find:-

# AllowOverride controls what directives may be placed in .htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

Step 5:- change AllowOverride None to AllowOverride All

Step 6:- That’s it.. Restart your Apache server :-)