• Resolved DSH1905

    (@dsh1905)


    I have tried to search for a solution but couldn’t find one. Hence posting my question.

    I recently moved my website from my Friend’s ftp to my computer. we were doing some development together and now I have to take care of the final minor mods/changes. I am using wamp now on my laptop. After migration, I took care of importing and changing the database siteurl and url, and other places where url was used for redirection and changed with localhost. Now I am facing a typical problem. When I open my website, I can see the home page, but the moment I try to go to a sub-menu, I get a 404 error. I have tried creating virtual hosts but the same result. other than the home page, all links are broken.

    Any thing I am missing? where to look next?

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • can you post a link to your site?

    Thread Starter DSH1905

    (@dsh1905)

    Unfortunately, we wiped the data on the ftp, and all I have is the localhost version. So cant post the link.

    I tried to retain as well as modify the GUIDs of the pages as well, but that didn’t help either. I am kind of stuck now because I cant see any modification that I do on these pages. What is strange though is that I am able to modify the pages/posts in wordpress, but the moment I click on visit site, the links just dont work.

    Try flushing the rewrite rules by changing the permalink structure, saving, then changing it back.

    Thread Starter DSH1905

    (@dsh1905)

    Worked like a magic until I changed the permalink structure back to what it was 🙂

    So I change the permalink structure and the website works all fine on the localhost. the moment I change it back to the previous structure, I encounter the same problem. for now, I can live with it as I just need to make minor mods so I will test them and then do it on the backup.

    Not sure though why going back to the previous permalink structure does not work.

    Thanks csloisel.

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

The topic ‘sub menu doesnt work after moving from server to localhost’ is closed to new replies.