Getting 404 on all pages except home after importing site with All-in-one WP Migration

[ad_1]

I’m trying to set up a development environment for a website. I’m using the All-in-one WP Migration plugin to export from the production site and then to import to the development site. Everything appears to go well, but when I click any of the links on the home page that should go to another page on the site, I get a 404. I’ve used this plugin successfully before when I was originally developing the site to push it to the live server. I’ve checked the database and the pages are there, they just don’t load.

It should be noted that I’m running both the production site and the development site in Docker containers and the pages were developed using Elementor Pro. The Elementor Pro plugin has been installed, activated, and connected to the Elementor account. Also, there is a warning when I do the import that the PHP versions don’t match. The devel environment has a later version.

Any ideas what could be causing this and how to fix it? I’m happy to provide more info upon request.

EDIT: And wouldn’t you know it that immediately after posting this question, I found [this post on Stack Exchange](https://wordpress.stackexchange.com/questions/253245/wordpress-migration-getting-404-errors-only-home-page-works?newreg=a9b7d1e77bae4d1aaf56d967a8845e6d) and fixed it.

[ad_2]
1 Comment
  1. Resave permalinks

    PHP version should be 8.1 or higher. If that causes problems, replace the out-of-date plugins/themes causing the issue.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer