Migration problem

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #276233
    gerrit2
    Participant

    I migrated one of our websites to a new domain. After the migration the website was functioning without a problem on the new domain. However, a day later the frontpage of the migrated website still came up but none of the pages from the frontpage menu’s was reachable, resulting in a not found error. Logging into the admin interface worked without a problem and the content seemed to be there. I could edit pages and store them without a problem, but the system could not find the page from the proper url. The only change on the server I can think of between the first day when everything worked and the second day is a server restart. My suspicion is that the problem may lie in the wp keys as defined in wp-config.php. These have been setup with different values for each domain. Does anybody have a clue what is going on here?

    #276238
    Shane
    Participant

    You need to check the url links behind each menu item when you browse to the site and see if it points to the correct page. Open the page from admin, check to see the page slug / url is the same as seen from the front end menu link.

    if the page will view from admin then it will view from the front end provided the url is the same. The only thing that might be wrong is he page made private, draft / un published.

    Also you said it went to a different domain. This can happen if the site migrates from server a to server b on the same domain but dns records haven’t propogated correctly.

    First step – check the meu domains on the site vs the slug / url from admin.

    if they look correct try changing permalinks settings from whatever they are to default / differnt, apply them then change them back. THat will reset .htacces if it is an issue there.

    What message is in the browser console or page when it fails?

    #276242
    gerrit2
    Participant

    Hi Shane,

    I just tried the whole procedure of migration again. I was mistaken in my previous message that it worked after the migration and then a day later it stopped. It is not working either just after the migration.

    I checked the page slug versus the url in the browser. They are the same. I also tried resetting the permalinks. No effect.

    The error shown in the browser is:
    Not Found

    The requested URL /courses/ was not found on this server.

    Apache/2.4.18 (Ubuntu) Server at tutor.ictreset.nl Port 443

    I tried creating a new page. Creating it is no problem, but it doesn’t show in the browser. Same error.

    #276243
    gerrit2
    Participant

    I just tried out something else. On the Parameters menu of wp under Reading I changed the entry for the homepage into another static page which is also referred in the main menu. Then when I look up the homepage it shows the other static page without a problem.

    I have no clue what causes it, but it is a remarkable finding.

    #276254
    gerrit2
    Participant

    Hi Shane,

    Finally! I found the problem. I had forgotten to enable .htaccess functioning for the domain I migrated to. Fixing that made everything work. Thanks for your efforts.

    Best regards,

    Gerrit

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Migration problem’ is closed to new replies.