• We’ve migrated our WP installation to another server so we can do some testing for the v3.1.1 upgrade. We simply copied the files and SQL DB and made all the DB changes and path changes for the files The homepage and WP Admin works fine, but we can’t view posts because it can’t find them – even when clicking “View Posts” in WP Admin.

    The old server works fine, and the path is as follows:
    https://www.domain.com/blogs/news-blogs/opinion-blogs/article.html

    However, that doesn’t work on the new server. Also, on the old server you could go to https://www.domain.com/blogs and see everything filed under the “Blogs” category, but that doesn’t work on the new site either. I know I’m missing something basic, but I can’t find it.

Viewing 1 replies (of 1 total)
  • Thread Starter sc456a

    (@sc456a)

    Fixed. Added the following to my root .htaccess file, disabled custom permalinks and then re-enabled them:

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

Viewing 1 replies (of 1 total)
  • The topic ‘Can't view posts after migration’ is closed to new replies.