Javascript Wordpress博客URL和事件URL重复域
出于某种原因,wordpress上的事件和博客帖子的URL显示如下:Javascript Wordpress博客URL和事件URL重复域,javascript,php,wordpress,url,Javascript,Php,Wordpress,Url,出于某种原因,wordpress上的事件和博客帖子的URL显示如下: Blog Post URL: http://blackbayarea.co/blog/blackbayarea.co/families-of-orlando-shooting-victims-file-federal-lawsuit-against-tech-companies/ Event URL: http://blackbayarea.co/calendar/blackbayarea.co/event/37th-mlk
Blog Post URL: http://blackbayarea.co/blog/blackbayarea.co/families-of-orlando-shooting-victims-file-federal-lawsuit-against-tech-companies/
Event URL: http://blackbayarea.co/calendar/blackbayarea.co/event/37th-mlk-jr-luncheon/?instance_id=5845
与此相反:
Blog Post URL (Correct): http://blackbayarea.co/families-of-orlando-shooting-victims-file-federal-lawsuit-against-tech-companies/
Event URL (Correct): http://blackbayarea.co/event/37th-mlk-jr-luncheon/?instance_id=5845
我将非常感谢您的帮助 看起来您的WordPress HOME和SITEURL常量可能设置不正确。尝试在站点的wp-config.php文件中添加以下内容:
define('WP_HOME', 'http://blackbayarea.co');
define('WP_SITEURL', 'http://blackbayarea.co');
看起来您的WordPress HOME和SITEURL常量可能设置不正确。尝试在站点的wp-config.php文件中添加以下内容:
define('WP_HOME', 'http://blackbayarea.co');
define('WP_SITEURL', 'http://blackbayarea.co');
请显示模板该部分的代码 我猜您没有将协议部分包含到链接中,例如:
<a href="example.com/some_link">Some Link</a>
会创造
你需要像这样链接:
<a href="http://example.com/some_link">Some Link</a>
请显示模板该部分的代码 我猜您没有将协议部分包含到链接中,例如:
<a href="example.com/some_link">Some Link</a>
会创造
你需要像这样链接:
<a href="http://example.com/some_link">Some Link</a>
这是word press的新安装还是刚刚开始?@chop62 wordpress的新安装是word press的新安装还是刚刚开始?@chop62 wordpress的新安装