Question: I am using WampServer and I feel like I encountered this before, but I can not find the thread that dealt with it previously. I am running WordPress on my WampServer. I create a new page, add a title, make sure the URL address is correct, and then I publish the page. Now, it publishes just fine, but if I try to view it, it tells me this:
The requested URL localhost/wordpress/feel-good-candy/ was not found on this server.
And yet I just created it. I feel like this is something extremely simple to fix. Sorry if it is. Thank you in advance for any advice you can give me!
Edit: Apparently, you have to go to WampServer’s icon in the taskbar, click on Apache > Apache Modules, and finally select “rewrite_module.” And it fixed it. What am I actually telling my computer to do when I select this?
“What am I actually telling my computer to do when I select this?”
The directory above doesn’t actually exist on your server. WordPress will produce a file called .htaccess that has a series of instructions to turn that URL into something that wordpress can understand as an instruction to show a particular page. However, to work it needs a module called “rewrite_module” to be available.
If you disabled pretty URLs, the address would be something along the lines of: