Monday 5 October 2015

Why Customised permalinks not working in localserver (WAMP) ?

 1st Way : 

For enabling pretty urls / permalinks, you have to enable Apache mod_rewrite.
1. Start WAMP Server. Click on the WAMP Server icon in the tray. Go to Apache -> httpd.conf link on the list. Click on that file link. It will open httpd.conf file in notepad.
2. Use the Find / Search function in Notepad and search for this line :
# LoadModule rewrite_module modules/mod_rewrite.so
Remove that hash and a space before :
LoadModule rewrite_module modules/mod_rewrite.so
Save it. Exit.
3. Restrat WAMP.
      Permalink will work.

 2st Way : 
1. Enable rewrite_module modules