Search code examples
phpwordpresspermalinks

Wordpress permalink is not working


Once I create a new page in wordpress, I change the permalink settings from 'Default' to 'Post name'. Now I trying to visit my page, but the page is lost. Im getting this error -

Not Found

The requested URL /anonymous/sample-page/ was not found on this server.

Plz help, thnkz.


Solution

  • If you working as Localhost and want to set permalinks then be sure to activate the rewrite_module in the "httpd.conf" file that locate in "C:\wamp\bin\apache\Apache2.4.4\conf" or "C:\wamp\bin\apache\Apache2.4.4\conf\original"

    find the line "#LoadModule rewrite_module modules/mod_rewrite.so" and remove the "#" its mean enabling the functionality and save the file and restart your server then you enable permalink it would work