• I recently changed the permalink structure on my blog. Now I can’t access the wp-admin panel. If I disable the htaccess file (change its name), then I can access the panel, but then my post/page links are all busted. How should I go about fixing this? I changed the permalink structure on two sites. Only one seems affected.

    Thanks for any help.

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

    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

    Now, check with your blog.

    Thanks,

    Shane G.

    Thread Starter adamsmark

    (@adamsmark)

    Before I do that, there is one difference between the two sites I updated. I password protected the directory containing wp-admin on the site that is giving me trouble. Could this be the root of the problem?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘After changing permalinks, can’t access admin panel’ is closed to new replies.