• Resolved ncracraf

    (@ncracraf)


    I’m in the process of migrating an existing live HTML site to WordPress. All development and content migration from the current site has been done on a local development instance.

    Before formally going live with the WordPress migration, I’m testing out the migration process on a subdomain of the production site. Everything has gone well with one notable issue.

    For some reason, a small percentage of pages, posts and categories will not display once migrated. An error, “The requested document was not found on this server.” appears when clicking on a link to these items. They all appear and behave fine from within WordPress, the issue only appears when looking at the website.

    Less than 5 out of 400 posts, 2 out of 30 categories, and 2 out of 10 pages behave this way. The rest work fine.

    I’ve even gone into MySQL to see if there are any glaring differences between the posts/pages that work and those that don’t. All data seems to be consistent.

    It would be a much easier problem to solve if all content behaved this way. I’m really scratching my head over the seemingly random nature. I’ve even redone the migration several times and it’s always the same posts, pages and categories that fail.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Samuel B

    (@samboll)

    did you re-save permalinks after moving?

    Thread Starter ncracraf

    (@ncracraf)

    Yes, re-saving permalinks was one of the first things I did after the trial migration. I’m wondering if WP saves permalink mappings elsewhere besides the database? Perhaps the few posts/pages/categories that don’t work are “stuck” somewhere.

    I’m going to keep researching but any additional input is always greatly appreciated.

    Thanks!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Do you have any caching plugins?

    Thread Starter ncracraf

    (@ncracraf)

    Nope, no caching plugins – thank you for the input.

    Just started over with a fresh install to retrace my steps. Using the default theme and before setting permalinks, all imported posts, pages and categories appear fine. Once I set the permalink custom structure to /%postname%/ is when the same couple of pages and categories produce the error: “The requested document was not found on this server.”

    Doing more research on the permalinks mechanics…

    Thread Starter ncracraf

    (@ncracraf)

    The issue was with caching – although I’m not sure why.

    My default browser is Safari. For kicks and giggles I viewed the test migration on Firefox with no issues at all. After emptying the Safari browser cache, all posts, pages and categories appear fine.

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

The topic ‘WordPress Migration – Strange Behavior’ is closed to new replies.