• Hey guys,

    I’ve recently moved hosts and restored the blog. An issue is that the URL permalinks have changed in a way that I don’t know how to fix..

    The URL was /category/subcategory/postname and it’s still in that format now BUT on posts that have multiple subcategories applied, it’s choosing a different subcategory to have in the URL.

    i.e it was /category/subcategory1/postname but it’s now /category/subcategory2/postname which means it’s going to duplicate everything in the search engine for a time.

    Any ideas how to fix it?

    Many thanks

Viewing 1 replies (of 1 total)
  • Hi,

    As you have changed the permalink settings, add this code in htaccess and have a check with old and new posts:

    # 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Issues with permalinks after restore.’ is closed to new replies.