Permalinks stuck on default settings
-
Hi There,
thanks in advance for your help.
I have read many posted but unfortunately I don’t really follow. I have tried some things but nothing seems to be working.I have created a new .htaccess file.
Originally it had this code in itRewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]From the forums I added this code
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressWhen I went back to the .htaccess file this code had disappeared and only the below was there.
# BEGIN WordPress # END WordPressI am making all these changed under the cpanel x
Under wordpress I have been going to settings > permalink and when I select the custom setting it just returns to the default and says the permalink structure updated, but it hasn’t.
Thanks Karen
The topic ‘Permalinks stuck on default settings’ is closed to new replies.