How to make WordPress Permalinks work in Xampp

Using a text editor, open your httpd.conf file. In Xampp, this file is found in the \apache\conf directory.
For mac version it is under \etc\
Search the file for the following line of code:

#LoadModule rewrite_module modules/

Next, remove the # from the line as seen below to enable the module:

LoadModule rewrite_module modules/

Next, search the file for AllowOverride until you come to a section that looks like the following:

# 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 All

# Controls who can get stuff from this server.
Order allow,deny
Allow from all

Ensure that this section says AllowOverride All as is highlighted above
Save the httpd.conf file and Restart your server

Leave a Comment

Before leaving a comment, please ensure you have read and understand my comments policy and my privacy policy. Any comment that does not abide by the comment policy will be deleted immediately.