0
当我键入<a href="http://localhost/myblog">localhost/myblog</a>
我重定向到生产服务器上的活动网站(我已在WordPress的变化)
当我键入<a href="http://localhost/myblog/wp-admin">localhost/myblog/wp-admin</a>
,它。正确地到达本地网站的管理界面。
再次从管理界面中,我无法导航到本地站点,因为它将我带到生产站点。
奇怪的行为。
的变化我做:
UPDATE wp_options SET option_value = 'http://localhost/myblog' WHERE option_value = 'http://www.example.com';
固定链接设置如下(关系?)
<a href="http://localhost/myblog/?p=123">localhost/myblog/?p=123</a>
是做到这一点的问题仍然存在。 – saba
多数民众赞成在不寻常的,因为它通常使用它来呈现您的网站内的网址 – BugFinder
是啊那是不寻常的... – saba