admin管理员组文章数量:1418302
When I save "" in General Settings as my Site & Wordpress URL, it gets replaced by "
//example
".
To analyze the problem, I checked the Wordpress database, but 'WP_HOME' and "WP_SITEURL" are correctly stored as "".
Actually, this is not a big problem, but Yoast SEO also shows my canonical URL as "//example
". So I need to fix that problem ...
When I save "https://example
" in General Settings as my Site & Wordpress URL, it gets replaced by "//example
".
To analyze the problem, I checked the Wordpress database, but 'WP_HOME' and "WP_SITEURL" are correctly stored as "https://example
".
Actually, this is not a big problem, but Yoast SEO also shows my canonical URL as "//example
". So I need to fix that problem ...
- WordPress doesn't do this on its own. It must be a plugin or a theme. The first step in trying to diagnose this would be to turn off all plugins and switch to a default theme, then start turning plugins back on, one by one, till you find the culprit. If none of your plugins are to blame, then it is probably the theme you were using. – Pat J Commented Jul 28, 2019 at 0:43
- 1 thanks a lot, you've been right. A plugin was responsible for that problem. If you put this comment as an answer, I will mark it as a valid answer. – rob_87 Commented Jul 28, 2019 at 9:40
- There, done. (I find, a lot of the time, I can debug a problem by turning off all plugins and then bringing them back one at a time.) – Pat J Commented Jul 28, 2019 at 15:09
1 Answer
Reset to default 0WordPress doesn't do this on its own. It must be a plugin or a theme. The first step in trying to diagnose this would be to turn off all plugins and switch to a default theme, then start turning plugins back on, one by one, till you find the culprit. If none of your plugins are to blame, then it is probably the theme you were using.
本文标签: plugin wp seo yoastWordpress replaces quothttpsquot with quotquot for Site amp WordpressURL
版权声明:本文标题:plugin wp seo yoast - Wordpress replaces "https:" with "" for Site & Wordpress-URL 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745289986a2651734.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论