dongyou2635 2019-02-23 23:51
浏览 59
已采纳

Wordpress Migration和Polylang无法正常工作

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?

  • 写回答

3条回答 默认 最新

  • douhan9748 2019-04-22 17:33
    关注

    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!

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发