The solution to the problem was just browser caching, just needed to load it in a different browser which was cache free
Wordpress主页301重定向到localhost
I've just moved a WordPress website from my local machine to the server. All the normal steps were done, such as updating the SQL database and setting it all up. The only problem is the homepage is 301 redirecting to my local URL even though it has the correct URL to go to. The rest of the website is fine including the admin area. So far I've done the following:
- Checked the SQL database to look for any localhost URL's
- Defined the wp_home and wp_siteurl in the wp-config file
- Also defined it in the functions file
- Disabled caching
- Flushed the permalinks
- Disabled plugins
- Checked for hardcoded URL's in the PHP
- Deleted the .htaccess file and created a brand new one
Any further ideas please?
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
1条回答
为你推荐
- 所有页面都重定向到主页
- php
- wordpress
- 3个回答
- 我的wordpress网站将我重定向到我的localhost
- redirect
- dns
- php
- web
- wordpress
- 1个回答
- Zend Framework 1.12和Wordpress重定向错误
- redirect
- php
- wordpress
- 2个回答
- 如何同时发送数据和重定向?
- php
- 1个回答
- Wordpress主页301重定向到localhost
- 使用GET后无法重定向到上一页
- plugins
- redirect
- php
- session
- wordpress
- 3个回答
- 在wordpress上重定向错误
- php
- wordpress
- 1个回答
- 重定向回原始文件夹Wordpress
- localhost
- php
- wordpress
- 1个回答
- Wordpress:从子文件夹重定向htaccess
- xampp
- redirect
- php
- wordpress
- 1个回答
- 特定的wordpress localhost /文件夹被重定向到https:// localhost /文件夹,其他文件夹正常工作
- localhost
- php
- wamp
- wordpress
- migration
- 1个回答
- wordpress永久链接重新加载页面,而不是重定向到发布
- php
- wordpress
- 3个回答
- 如果端口不是80,则.htaccess重定向到错误页面