404 Error when change permalink
-
Hi all,
When i change permalink to post name, only my front page works, other page has 404 error ([ redundant link removed ]). I installed wordpress to VPS without control panel.
I tried to save permalink many time and message was shown “You should update your .htaccess file now.”
So, i edited .htaccess file directly:…
# 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 WordPress
…so it fail.
Next, i tried to check the file permissions and set them to 644 (i tried to set them 155, 177 after) for .htaccess. I installed WP htaccess editor plugin to check after set permissions and it’ve still shown:…
.htaccess file is not writable!
Your .htaccess file located in /var/www/wordpress/.htaccess can’t be edited by WordPress or this plugin. You can only edit it via FTP.
If you want to edit it via WordPress check the file permissions and set them to 644.Last, i tried to edit httpd.conf file as AllowOverride None -> AllowOverride All and it’ve shown 403 error.
Help me this case, please.
- This topic was modified 3 years, 1 month ago by . Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic
The page I need help with: [log in to see the link]
- The topic ‘404 Error when change permalink’ is closed to new replies.