I’m a newbie in WordPress and have just started to use it and I have a problem.
I changed permalinks settings
and in admin panel links of pages changed too
but when I click on link in menu http://mysite/services/
, I get 404 error instead of page.
What’s wrong? Do I need to change any other settings?
I use local server Winginx.
2 comments
Comments are closed.
This problem occurs if mod_rewrite function is not probably working on the server, in this case you can simply overwrite this issue by manually editing the .htaccess file. It should look like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
If you’re using Apache2, try to see if mod_rewrite is enabled. Else if you’re using Nginx, try some of their configs for Nginx. https://codex.wordpress.org/Nginx