douqi3195 2017-09-05 09:51
浏览 38
已采纳

Wordpress的奇怪问题在我的本地机器上安装

I recently migrated a site from a live server to my localhost.

Whenever I went to open the site, instead of loading like all other sites in my htdocs directory, it tried to download the site files.

Clearly, my stack is not running correctly.

So I did a migration from live to local with a Wordpress plugin.

This time it worked fine. Until I clicked on the permalinks tab from within the Wordpress dashboard.

Same problem happened again.

Looks like a permalink issue but Google is turning up nothing (perhaps I am searching for the wrong thing)

Really would appreciate some advice or links for where to look.

Thank you!

  • 写回答

1条回答 默认 最新

  • duanlu4371 2017-09-05 10:11
    关注

    You should go to Permalink Settings page in your localhost WordPress dashboard and click save changes to update local permalink settings.

    I don't know which WP plugin you've used to copy your website to localhost, but from my experience WordPress Duplicator takes care of the permalinks for you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 unity第一人称射击小游戏,有demo,在原脚本的基础上进行修改以达到要求
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?
  • ¥15 加热介质是液体,换热器壳侧导热系数和总的导热系数怎么算
  • ¥100 嵌入式系统基于PIC16F882和热敏电阻的数字温度计
  • ¥15 cmd cl 0x000007b
  • ¥20 BAPI_PR_CHANGE how to add account assignment information for service line
  • ¥500 火焰左右视图、视差(基于双目相机)