【发布时间】:2015-04-21 21:10:28
【问题描述】:
我将我的 wordpress 网站从本地主机移到了实时服务器。问题是我导航中的所有链接都不能用作主页按钮。 直播网址:http://iulian.cablevision.ro 断开链接示例:http://iulian.cablevision.ro/about/
这是我得到的错误:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.27 (CentOS) Server at iulian.cablevision.ro Port 80
我尝试在我的数据库上使用 SQL 中的 a 命令来更新 url:
UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost/wordpres/', 'www.iulian.cablevision.ro/');
我还尝试使用 Velvet Blues 插件,但效果不佳...是另一种操作数据库的方法,以便我的链接可以正常工作吗? 我按照http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/ 的教程进行操作,但接缝对我不起作用……我的错误在哪里?
【问题讨论】:
-
你更新数据库中的
siteurl和homeurl了吗?
标签: php sql database wordpress phpmyadmin