trouble changing permalink structure
-
I have a blog and want to change the permalink structure (to /%postname%) but when I do this in the WP Dashboard and click on an article, I am getting the following error message:
Error: Not Found
The requested URL was not found on this server.
Apache/2.2.3 (CentOS) Server at https://www.domainname.com Port 80—
in WP-Admin panelI create my .htaccess file as instructed:
If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>—
NOte: the blog is in a subdirectory called ‘blog’—
normally this updates automatically, is this different because it is in a subdirectory?Any thoughts would be most appreciated.
- The topic ‘trouble changing permalink structure’ is closed to new replies.