Read here how you can enable custom permalink in WordPress/ Local Server. A common problem faced by users. Who install a local server on their PC for WordPress, Joomla or Drupal is that. Their permalink rewrite rule does not work. And when they try to enable custom Permalinks. Then all pages and posts show the error “page not found”.
So if you want to fix this issue. Just change rewrite module in your local server WAMP, MAMP or XAMPP whichever you are using. In fact, XAMPP easily install on Windows PC by following some simple steps. If you see the reason of Local Host usage. Then you know people use because this is speedy from an online site and best for learning purpose.
Enable Custom Permalink With The Help Of Screen Shots
Just see how to enable custom permalink with the help of screenshots. Here I am telling by using WAMP. But if you are using other than. Then the method will bit different.
- First of all, find the WAMP icon in your taskbar tray. Just navigate to Apache » Apache modules.
- This will show you a list of modules. Now just trace rewrite_module and click on it. When you will click it a check icon will show. So it’s mean option enabled
- After this, your custom permalinks will do work instantly.
This was the method to enable custom permalink. If you have failed by this method then you can locate your local server. Now trace apache folder. After it looks for configuration which will be the name of “conf”. Now to trace for httpd.conf file. In the last just search for the below-given line:
#LoadModule rewrite_module modules/mod_rewrite.so
Now remove the # sign and the line will look like this:
LoadModule rewrite_module modules/mod_rewrite.so
I hope the second method will work. Don’t forget to subscribe our channel. Read more about How To Install XAMPP On Windows In Urdu.