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 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器