What to do when getting 404 – page not found after migration

1. Check whether mod_rewrite is enabled on Apache.
2. Check if PopBox For Elementor plugin causes an issue. If it does:

  • Deactivate PopBox For Elementor plugin
  • Save permalinks
  • Activate PopBox For Elementor plugin


  1. Kenny Mui

    My current site uses default permalink structure e.g. /?p=123. If I am going to migrate it to other site name, can it be possible to change the permalink structure to a different one? If yes, could you tell me how to do it? Thank you very much!

  2. Mike Ellsworth

    I’m having problems after migrating using the Massive Dynamic theme. I did the “save permalinks twice” thing and things are fine except when I use the Massive Dynamic on page builder. The builder wants to add /&mbuilder=true after the post name, and that 404s. The theme authors say change the ampersand to a question mark, and that certainly works, but I can figure out a custom permalink that will do that. Builder works fine if done from the WP pages.

    Any ideas?


    1. Pim J. Iliev

      Hi Mike,

      I am sorry for the inconvenience.
      What is your PHP version?
      Can you edit your wp-config.php file and set WP_DEBUG to true?
      After doing this, please refresh your frontend and you should then see an error.
      Please reply with this error so that I can take a look.

  3. Tyler

    Immediately after exporting my wordpress install breaks and I can’t access any of the pages. I get a 404 page not found. I’m trying to migrate from an environment that is ssl encrypted onto mamp (local drive). I’ve never had problems before using non ssl sites so I assume its an ssl thing. We are also cacheing with cloudflare. I’ve disabled all my plugins and tried again and it still doesnt work. I’ve also checked that mod rewrite is on. Any ideas?

Leave A Comment?