Categories: Programming & Coding

Solution To Url Rewriting Not Working For Wamp Server In Windows

Recently while working on one of the project I faced an issue. I had prepared a virutal machine for local dev environment. Moved live wordpress site localhost local environment. And my permalinks were not working when I moved live wordpress website from production server to local development machine. Clicking any permanent link results into 404 error.

Though its not a new issue or very major issue. It was just not in the list of steps to follow for different environment. So thought of sharing this with everyone.

Wampserver Enable rewrite_module

So to fix this you should enable rewrite_module of apache server from your wamp server. Basically it will change “httpd.conf” file and it will restart your apache server.

Pro Tip: Do you know you can Install Full LAMP Package with single command in Ubuntu Linux or even you can manually Install LAMP-SERVER, linux, apache, mysql, php in Ubuntu Linux version ?

How To Enable rewrite_module of Apache In WampServer ?

To enable rewrite_module just follow these steps

  1. Click on wampserver icon.
  2. Click Apache.
  3. Click Apache Modules.
  4. Scroll down and make sure that “rewrite_module” is checked and checkbox is present before that.
  5. If checkbox is not present then just click on it.
  6. Wampserver will be automatically restarted.
  7. If wampserver is not restarted then just restart it.
  8. Refresh your localhost website and now you should be able to browse your website properly.
Wampserver Enable rewrite_module in Windows 7, Wamp apache rewrite_module

When using WAMP SERVER if you faced an issue similar to me where you downloaded a backup of wordpress and restored it to your local machine. But after restoring your permanent links no more work. It shows 404 error. Then just try above steps see if it works properly.

ProWebGuru

Mostly I write about technology related stuff on https://www.prowebguru.com Recently I have started making videos also. Mostly blog posts & videos are related to technology, programming and learning some new tips and tricks related to windows, wordpress, google app script, technical, programming, javascript, jquery and other coding related stuff. Youtube channel - https://www.youtube.com/user/prowebguru

View Comments

Recent Posts

GPT 5.4: Powerful AI Breakthrough – 7 Game-Changing Features, Launch Date & Full Guide

GPT 5.4: The Next-Generation AI Model Transforming Reasoning, Coding, and Productivity Artificial Intelligence is evolving…

1 day ago

GPT‑5.3 Instant Explained: Faster, Smarter & Fewer Refusals

GPT-5.3 Instant is OpenAI's latest ChatGPT model update, prioritizing smoother conversations, fewer refusals, and higher…

2 days ago

Free Perplexity Pro for Airtel Customers: Unlock Advanced AI Assistance at No Cost!

Are you tired of scrolling endlessly through Google results trying to find clear, trustworthy answers?…

4 months ago

Unlocking Collaborative Coding with GitHub Copilot Spaces

In recent years, the process of software development has rapidly evolved—developers demand smarter tools and…

4 months ago

ChatGPT Go Now Free in India: Opening Doors to Advanced AI Capabilities

India has emerged as one of the fastest-growing and most significant markets in the global…

4 months ago

AgentKit by OpenAI: Redefining the Future of AI Agent Development

On October 6, 2025, OpenAI unveiled AgentKit, a unified suite of tools designed to help developers and…

5 months ago

This website uses cookies.