• I’m trying to move my company’s WordPress site to a new server.
    After copying, the front page loads fine, but all links to other pages are broken
    with this error page. I’m a half-baked developer, learning php and apache, please help!

    Not Found
    The requested URL /pagename/ was not found on this server.
    Apache/2.4.7 (Ubuntu) Server at 104…. Port 80

    Here’s what I’ve tried – all of this results in the same site that loads the front page but has broken links:
    -Fresh WP install and copy entire wp-content folder. So far so good.
    -Imported xml data. Error message “failed.”
    -Importing database after running search and replace on every instance of the url. I tried using Database Search and Replace Script in PHP from interconnect/it to be sure the replace worked despite any serialization. Links still broken.
    -Copied over .htaccess file
    -Defining the site address url and wordpress address url through wp-config.php
    -Fiddled with permalink settings from dashboard

    My thought’s at this point. Could WordPress be attempting to change the links based on permalink settings? Could a plugin license (Woocommerce) affect my site?

    • This topic was modified 9 years, 7 months ago by zach@cp.
    • This topic was modified 9 years, 7 months ago by zach@cp.
    • This topic was modified 9 years, 7 months ago by zach@cp.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Could WordPress be attempting to change the links based on permalink settings?

    Have you tried switching back to the plain (default) permalink structure temporarily to see if that works? Is mod_rewrite definitely running on the new server?

    Thread Starter zach@cp

    (@cpit)

    Have you tried switching back to the plain (default) permalink structure temporarily to see if that works? Is mod_rewrite definitely running on the new server?

    Ah! That was it! My permalinks wouldn’t change because mod_rewrite was disabled.

    Thank you!!

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

The topic ‘Migration Failure’ is closed to new replies.