移至托管服务器后,WordPress前端页面无法正常工作 [英] WordPress front end pages are not working after moving to the hosting server
问题描述
我是一个新的WordPress.我的WordPress项目在本地运行良好,但是当我上传到托管服务器时,wp-admin页面正在运行,但前端却无法运行.
I am a new WordPress. My WordPress project is working well on local, but when I upload to the hosting server, the wp-admin page is working but the front end is not.
我做了以下事情:
- 在托管MySQL数据库时,我将本地站点URL更改为当前域站点URL.
- 将http更改为https
有人可以帮我解决问题吗?
Can anyone help me fix the problem?
推荐答案
如果您不熟悉Wordpress,则移动Wordpress网站可能会很棘手.有很多错误可能会出错,并且可能需要几个小时才能解决.
Moving a Wordpress site can be tricky if you're new to Wordpress. There are a lot of things that can go wrong and it can take hours to fix.
我建议使用像Duplicator这样的插件在几分钟内移动WP网站-使用非常简单:
I suggest using a plugin such as Duplicator to move a WP website in just a few minutes - it is very simple to use:
- 将其安装在本地WP 网站上进行复制并构建一个程序包(只需单击几下).
- 将此ZIP文件和安装程序复制到新位置,然后运行安装程序向导.
- 创建一个空数据库
- 运行安装程序向导,只需完成几步(很短),您只需提供数据库详细信息即可.
- Install it on your local WP site to copy and build a package (just a couple of clicks).
- Copy this ZIP file and installer to the new location and run the installer wizard.
- Create an empty database
- Run the installer wizard which has just a few (very) short steps to go through - you just need to have your database details.
您可以设置整个网站&只需几分钟即可在新位置完美运行!无需再设置数据库,更改数据库中的url,404错误,链接断开,图像损坏等.手动移动Wordpress网站可能很棘手,并且您可能会花费大量时间来解决问题.甚至代理商也可以使用插件来避免这些问题.
You can have an entire site set up & running perfectly on a new location in just minutes! No more setting up the database, changing urls in the database, 404 errors, broken links, broken images, etc. Moving a Wordpress site manually can be tricky and you can waste hours trying to fix the issues. Even agencies use a plugin to avoid the problems.
这篇关于移至托管服务器后,WordPress前端页面无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!