• Resolved groston

    (@groston)


    All,

    I recently moved our WordPress site from one server to another. The only things that changes along the way were the path to the root folder and the database password. After the move, none of the content pages are visible (more below).

    I followed this guide https://codex.wordpress.org/Moving_WordPress – and went beyond. I updated the appropriate values in wp-config.php. In the database, I searched out and replaced every instance of the old root path with the new. In the various files, I searched out every instance of the old root path with the new. I turned off Permalinks, removed .htaccess, and disabled every plugins. I made sure that all folders have 755 permission and that the files are at least 644. And still, nothing.

    Well, not quite.

    The admin section works just fine. I can log in, make changes, etc.
    On all other pages, nothing is visible, but when I show source, the blank page has some content. Some things I noticed:

    • The first 20 lines or so of the non-working site have an extra blank line between each line
    • The non-working site has about 80 lines of html and these are mostly identical to the working site – the three differences are missing stylesheet links

    I also checked all WP error logs and found nothing there and I found nothing in the site error log.

    I just noticed that I am getting the following error: unknown_token: It looks like your Jetpack connection is broken. Try disconnecting from WordPress.com then reconnecting. Could this be the root cause of the problem?

    I am at a complete loss as to what to try next. Would you please offer some suggestions. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter groston

    (@groston)

    James. Thanks for the help. I was able to locate the issue – it was a single line of (poorly written) code. Instead of using a local file path to include_once, the code had a fully qualified domain name. Since we were moving things around that broke.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moved website – no pages showing’ is closed to new replies.