Enable Wordpress Permalink In Localhost Using XAMPP
AdvertisementDo you want to change wordpress permalink in localhost using XAMPP but return page not found? So this is the right place for you to fix it and using permalink in localhost. As default, XAMPP was disabled rewrite module for .htaccess so it will ignore any rewrite module that needed to make permalink. To enable this module you just need easy one single step!
Here we go … By default, XAMPP will have folder installation in C:\xampp. Now open C:\xampp\apache\conf\httpd.conf using your favourite text editor (i prefer to Notepad++ since they very powerfull than original notepad) and find this code. If you using Notepad++ like me just press Ctrl+G and enter 118 to go to lines 118.
#LoadModule rewrite_module modules/mod_rewrite.so
Remove mark (#) from begining code. Now your code should be like this
LoadModule rewrite_module modules/mod_rewrite.so
Save file and close. Your permalink now is ready to use. Anyway to setting permalink in wordpress go to Dashboard > Settings > Permalinks. Usually i use only “/%postname%/” setting to more friendly in search engine. Of course it would be effective if you do this for online site
Related posts:
Thanh you very muach!
Ok. Very good.
Great.. my problem has answered…
thanks 4 your article..
i have use it, but still dont get it, whats wrong? is anything else to config might be file .httaccess ?
please help..
restart ur XAMPP first
regards
Hi I was really facing this problem from many days… thanks it helped a lot..
Best of luck