admin管理员组文章数量:1391929
For some reason when doing crawl tests I'm finding pages with the domain name being tacked on the end and causing 404 errors. For example: ://domainname
This is happening to all pages, posts and even category type
- Site is in Wordpress
- Using Yoast SEO plugin
Any suggestions?
Thanks!
For Example
For some reason when doing crawl tests I'm finding pages with the domain name being tacked on the end and causing 404 errors. For example: http://domainname/page-name/http://domainname
This is happening to all pages, posts and even category type
- Site is in Wordpress
- Using Yoast SEO plugin
Any suggestions?
Thanks!
For Example
Share Improve this question edited Mar 4, 2017 at 20:33 NomanJaved asked Mar 2, 2017 at 23:57 NomanJavedNomanJaved 1236 bronze badges 4- Try manually creating a sitemap using an external source such as XML-Sitemaps. Also, I encountered a rare similar issue a few years ago that only happens when using GoDaddy for hosting. Is GoDaddy your hosting provider? – Jorge Raigoza Commented Mar 3, 2017 at 0:09
- No, it's hosterpk domain provider. I am get 404 errors in webmaster tools. – NomanJaved Commented Mar 3, 2017 at 0:11
- You get the 404 error on your webmaster tools because the sitemap.xml was not properly created. I guess you created it using Yoast SEO plug-in. So, go to XML-Sitemaps, generate one and compare it to the one that shows under yourdomainname/sitemap.xml – Jorge Raigoza Commented Mar 3, 2017 at 0:15
- Nevermind, I missed read the post. The issue that you're facing can come from a lot of different places. You have to give more details and your WP URL if possible. – Jorge Raigoza Commented Mar 3, 2017 at 3:52
2 Answers
Reset to default 0What are you using for your crawl test and what is the domain? It would help to look at a page that has one of the broken links to see where it's coming from.
We have view this issue on elementor plugin, that have been duplicated pages above the button widget on "keep reading" element.
So, we remove this button and the issue go out. If you have this theme/plugin, try to remove the button from wordpress editing post.
本文标签: phpWeird 404 URL Problemdomain name being placed at end of urls
版权声明:本文标题:php - Weird 404 URL Problem - domain name being placed at end of urls 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744683470a2619557.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论