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.

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

报告相同问题?