Search code examples
phpwordpresspermalinks

Wordpress permalink is not working when set to postname


I have problem with my WordPress permalink. I'm running a WAMP server. I tried to change the permalink to postname: "/%postname%/".

Permalink setting.

When I test one of my pages I get an 404 Not Found.

When I click on the post title.

How can I fix this problem?


Solution

  • Looks like your .htaccess doesn't exists or better said the mod_rewrite isn't working.

    My guess though, since you are using wamp, is that the .htaccess was created by wordpress. Just check if the file exists otherwise create it.