Weird 404 URL Problem - domain name being placed at end of urls
-
Hey there.
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.com/page-name/http://domainname.comThis is happening to all pages, posts and even category type
1. Site is in Wordpress
2. Using Yoast SEO pluginAny suggestions?
Thanks!
-
Hey Jay,
Can you tell me, how you found the incorrect html? I am having the exact same problem, as you did back then, but I don't know where to look. I am having two sites, both Wordpress and build over the same theme, but one has a lot of 404 errors according to Moz and Webmastertools. The other one doesn't.
It's it driving me crazy!
Thanks!
-
grats!
-
I found the main culprit! There was a sitewide link in the footer that had incorrect html formatting. Instead of http://domainname.com, it was incorrectly inserted as domainname.com.
Thanks for the help!
-
I had this problem in Wordpress about a year ago. In my case it was caused by links being entered into posts getting turned into relative links instead of being absolute links. Somehow this was causing the links to append the domain name to the end of the url. In our case it turned out to be an incompatibility between plugins. Have you tested all your plugins to see if any of them are interfering and causing this issue?
-
It's often an internal link that's a bit screwed up that will cause this to happen. Look for a missing colon in http:, or something like that.
-
I've run the crawl tests in Screaming Frog and Moz. Webmaster tools is finding these errors as well. The sitemap is clean and void of these URLS which is strange.
Just to clarify- All the old urls are fine such as http://domainname.com/page-name . They've all been duplicated with http://domainname.com/page-name/http://domainname
-
Hey Jay —
Where're you doing these crawl tests? Does Google Webmaster and Moz both show these errors?
Also, is there a remote chance something is wrong in the sitemap.xml?
— Andrew
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Duplicate URLs ending with #!
Hi guys, Does anyone know why a site can contain duplicate URLs ending with hastag & exclamation mark e.g. https://site.com.au/#! We are finding a lot of these URLs (as duplicates) and i was wondering what they are from developer standpoint? And do you think it's worth the time and effort adding a rel canonical tag or 301 to these URLs eventhough they're not getting indexed by Google? Cheers, Chris
Intermediate & Advanced SEO | | jayoliverwright0 -
Merging Domains
Up until last week, we had separate domains for each of our 3 products. We've now merged two products to sit under one URL. The merge coincided with a CMS upgrade which effectively killed all of our old URLs save for the homepage. Is it best for me to 301 the old homepage to it's new place, as well as the rest of the old site's top pages to according pages on the new site? Or is there a better solution?
Intermediate & Advanced SEO | | taylor.craig0 -
Client has country specific (.co.uk) but no international domain name
Is there any issue re: SEO? I usually go for a local and international domain just to protect brand but these guys only protected local .co.uk domain. I'm thinking there aren't any specific SEO implications, but please let me know if there are any...
Intermediate & Advanced SEO | | McTaggart0 -
Move webshop domain to the brand domain?
Hello, A client of mine has a brand with a website for over 10 years now.
Intermediate & Advanced SEO | | Seeders
About 4 years ago the have opened a webshop on an other domain (like www.brandnamewebshop.com). At this moment the brand domain has a seomoz authority of 45.
The webshop domain authority is 25. The question:
Would it not be better to transfer the webshop to the brand domain because of the domain authority? If so, how can this be done the best way? With a 301?
I also think: what a loss of energy of building the authority on the other domain.
Is it an idea to use both domains for a webshop and rewrite the content? Or is there an other way to still make use of the built up domain authority? Would it really help the other domain when I make a 301 redirect (and make use of the pointing links to the webshop domain?). I hope somebody have some experience with this...
Looking forward to the possibilities! Gerjan0 -
DNS(Name servers), IP and domain.. All Showing Same Site...
Hello, My site is hosted on VPS with dedicate IP. The problem I am facing is my site is indexed and cached by domain, IP address and name server. I am able to open all the pages via www.xyz.com and and IP 1.1.1.1 and the name sever like ns1. hosted.com And if I USE site operator in google for 1.1.1.1 and ns1.hosted.com there are so many pages which is cache and in sites. Is it any server issue my hosting company give me a reply as given below "This is because that site is on the same ip as the nameserver. This is completely correct and normal. This is not an error." Is it true ? can you help me in this issue? Thanks
Intermediate & Advanced SEO | | semshah1430 -
Soft 404 problem
I have a soft 404 problem in webmaster tools for http://www.musicliveuk.com/about/feed and I'm not sure why. I read on here that if it is a main content page it should be fixed but I don't know how. I've tried to 301 redirect the page to http://www.musicliveuk.com/about/ but the redirect doesn't appear to be working? how do I fix this?
Intermediate & Advanced SEO | | SamCUK0 -
301 vs. 404
If a listing on a website is no longer available to display is it better to resolve to a 301 redirect or use a 404? I know from an SEO point of view a 301 will pass on the link value, but is that as valuable as saying tto the user hey that page is no lonoger available try something else?
Intermediate & Advanced SEO | | AU-SEO0 -
Ranking problems
Hi All My site is live for a year now. I;m getting tons of traffic (alexa 54k) and business are good. The only problem is that I have 0 page rank....I have checked again and again the site;s structure to see if there is anything wrong with the site but everything seems to be ok. Google just added search links to the site (megamoneygames) which looks very nice. For example, none of my competitors have search links but they all have page rank of 4 while I have 0. In addition, for some reason the site's age (days) shows 0 although it is live for a year now... Do you have any idea of what is going on? do I have errors in the site? Thanks
Intermediate & Advanced SEO | | Pariplay0