• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
TechRT Logo

TechRT

Technology, Real Time

  • Home
  • About
  • Contact
  • Deals and Offers
TechRT Logo
FacebookTweetLinkedInPin
Wordpress Plugins For Responsive Design
Up Next

7 Fantastic WordPress Plugins To Make Your Site Mobile Responsive

How to Set Custom Permalinks Local Wordpress

TechRT  /  WordPress

How to Set Custom Permalinks in Local WordPress Installation

Avatar of Rajesh Namase Rajesh Namase
Last updated on: July 13, 2022

Setting up a local server environment is always good for bloggers; especially you are using WordPress as your CMS. You can use WAMP, XAMPP or MAMP for setting up a PHP and MySQL powered server environment in your PC and install WordPress in it, just as you do it in your server. It can give you a good experience and works as a testing place for your code based works.

One of the problems we have found when using such a Local WordPress installation is that, they are not able to reset the permalink structures. If you are trying to change your default permalink structure, it will not work and will show a “Page Not Found” error in the screen. However, this problem is resolvable by applying a small feature in the local server itself. We provided two methods, you can try any method of your wish.

First Method: Re-writing a Module

First Step

What we are going to do is just re-writing a module. This feature is available in WAMP, XAMPP or MAMP. We are doing it here via WAMP. Start WAMP Server and find the WAMP icon in the taskbar. Click on the icon and a menu will appear near to the icon. You can see an option called Apache and Apache Modules as a sub option of Apache.

Local Server Wp Permalink Problem Step First

Second Step

Hover on the option ‘Apache Modules’. You can see a list of modules installed in the server including one named rewrite_module. By default, rewrite_module is not active. What do you want to is just enabling that option.

Local Server Wp Permalink Problem Step Second

Third Step

Just try changing the permalink structure from WordPress dashboard. It would work properly.

See Also: How to Create Sub-Domains Using XAMPP.

Second Method: Editing httpd.conf File

Step One

Go to the WAMP server folder in C drive -> Apache -> There you can see a file named httpd.conf. Select your favorite editor and open the file in it.

Step Two

Find the following line

#LoadModule rewrite_module modules/mod_rewrite.so

Replace it by

LoadModule rewrite_module modules/mod_rewrite.so

You are done. Now you can change the default permalink structure of your local WordPress installation. Everything will be work as per your expectations.

Disclosure: Content published on TechRT is reader-supported. We may receive a commission for purchases made through our affiliate links at no extra cost to you. Read our Disclaimer page to know more about our funding, editorial policies, and ways to support us.

Sharing is Caring

FacebookTweetLinkedInPin
Avatar of Rajesh Namase

Rajesh Namase

Rajesh Namase is one of the top tech bloggers and one of the first people to turn blogging and digital marketing into a full-time profession. He is the co-founder of TechRT. He has a great passion for technology, digital marketing, and SEO.

Category

WordPress

Tags

WordPress Tips, WordPress Tutorials

Reader Interactions

No Comments Logo

Leave a comment

Have something to say about this article? Add your comment and start the discussion.

Add Your Comment Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Popular

  • Hulu Keeps Crashing or Shutting Down (10+ EASY Fixes)
  • How to Ping a Phone: 8 Ways to Find Location
  • What is Carrier Hub App? How to Uninstall it?
  • Hotmail Not Receiving Emails (You Should Try This Fix FIRST)
  • 12+ Google Workspace Alternatives: G Suite Alternatives (Free and Paid)

Trending Topics

  • Android
  • Gaming
  • Internet
  • iPhone
  • macOS
  • Social Media
  • Technology
  • Windows
image/svg+xml image/svg+xml

Footer

About

Hello and welcome to TechRT. TechRT, which stands for Technology, Real Time, aims to be a holistic space for all things tech. We talk about anything and everything that comes under the umbrella of ‘tech’ and ‘science.’

Founded and managed by some of the most passionate tech geeks you will come across, TechRT wants to become more than a resource hub. We would like to build a community that can offer the best technology experience to everyone!

Links

  • About
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms

Follow

Cloud Hosting by Cloudways

Copyright ©  2016–2023 TechRT. All Rights Reserved. All trademarks are the property of their respective owners.