UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › Migration problem
Tagged: migration., page not found
- This topic has 4 replies, 2 voices, and was last updated 6 years, 7 months ago by gerrit2.
-
AuthorPosts
-
April 22, 2018 at 8:16 am #276233gerrit2Participant
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?
April 22, 2018 at 9:01 am #276238ShaneParticipantYou 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?
April 22, 2018 at 9:44 am #276242gerrit2ParticipantHi 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 FoundThe 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.
April 22, 2018 at 10:00 am #276243gerrit2ParticipantI 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.
April 22, 2018 at 11:41 am #276254gerrit2ParticipantHi 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
-
AuthorPosts
- The topic ‘Migration problem’ is closed to new replies.