phpwordpresspolylang

Wordpress Migration and Polylang not working


I'm trying to migrate my website to my localhost and the homepage is not working porperly. My steps were:

  1. Download through FTP all the files of the wordpress website and put them inside a folder on my local environment (WAMPP);
  2. Export the online mysql database and import it on a fresh database on my local environment;
  3. Update my local wp-config.php with the new connection
  4. And run inside the local folder of the project the script Search-Replace replacing the old URL by my local one;

When I visit the website on my local server, instead of getting my homepage, I'm seeing a WAMPP page, with details of the local server.I can access normally the admin. There, I noticed that when I disable the polylang plugin, I can see my homepage. If I enable it again, the problem continues.

Is there any other step to make on my migration considering the polylang plugin to make things right?


Solution

  • I forgot to answer my own question. The problem that I was having was due to a .htaccess file that came together with the project when I download it through FTP. This file was forcing an online behavior on my local environment with some redirect. That's why I was getting the Xampp home page. So I had to recreate this .htaccess file. After that, everything was working properly. Thanks for the help!