Why do Pages randomly break because of the permalinks?
-
Hi,
i am getting a small but annoying problem.
the pages randomly break. however, it fixes itself once i open:
wordpress > settings > permalinks > click ‘save’I think it is something to do with custom permalinks i set up.
i read somewhere about the HTACCESS file. and got some code:
# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Can anyone confirm this is the code required to fix the issue?
thanks so much!
- The topic ‘Why do Pages randomly break because of the permalinks?’ is closed to new replies.