24 November 2015

Wordpress Permalinks Error Correction for WAMP Users

Scenario:
I change my wordpress permalink structure.

Problem:
Every page starts showing up as a 404.

Alternate ugly solution:
I end up using the ugly id default permalink setting.

Here's the solution i found on the net that worked for me.



Users of WAMP (Windows):
 
Some versions of WAMP (all versions?) do not enable mod_rewrite or permit following SymLinks by default. 

To enable the required functionality navigate to the apache/conf/httpd.conf file, open with a text editor and uncomment the line LoadModule rewrite_module modules/mod_rewrite.so
 (i.e., delete the hash/pound sign at the front of the line). 

Then further down in the same file there is a section that starts with the line "Options FollowSymlinks". Change the second line in that section from "AllowOverride none" to AllowOverride all.

 Save edited httpd.conf and restart all WAMP modules. 
Your permalinks should now work.
This worked for me.

I found the solution in this page
https://codex.wordpress.org/Using_Permalinks

No comments:

Post a Comment