• I’m still just testing out wordpress on my own servers. I imported a wordpress.com blog, and went to change the permalinks. When I did that, all of the posts still showed up on the home page, however, when I went to view a full post, I gog a 404 error. Is this normal, and what can I do to combat it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Set your desired permalink and add this code in htaccess:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    ErrorDocument 404 /index.php?error=404
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Thanks,

    Shane G.

    Thread Starter leifandersen

    (@leifandersen)

    @xewax I’m looking to be able to get to my links from my own webpage, not google, but thanks anyway. (Or maybe I just mis-interpreted the post).

    @shane, I tried it, and it didn’t work. Can I ask what on earth that was supposed to do (and why it’s not put in as part of installing wordpress in the first place). Also, this may be a little OS specific, but why was htaccess in /etc/wordpress rather than in the same place my wordpress install is /var/www/wordpress? Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing permalinks causes 404 erros.’ is closed to new replies.