Hey all -- ever seen a client with URLs that keep repeating the domain? Something like: client.com/client.com/client.com/subfolder-name. Any idea what glitch could cause that?
-
Hey all -- ever seen a client with URLs that keep repeating the domain? Something like: client.com/client.com/client.com/subfolder-name. Any idea what glitch could cause that?
-
This is generally a mix of two issues...
1. Handling 404s improperly
2. An improper relative link9 times out of 10 this is the issue. Let's say, for example, the client's site is "client.com"
A link in their main template looks like this...
a href="client.com/"
instead of...
a href="http://client.com"
or
a href="/"
That first link will cause Google, or any crawler, to visit "http://client.com/client.com". When the bot visits this page, it finds the same a href="client.com/" link and, now tries to visit "http://client.com/client.com/client.com" so on and so forth.
Now, for this to happen, the page also needs to deliver a 200OK, otherwise Google would likely stop trying to access the page because of the 404.
Both of these issues need to be resolved.
-
It could also be just a link that should be relative, but is not.
you can use screaming frog SEO spider to find the page that is linked from.
-
Sounds like a faulty CMS issues ... what sort of CMS is it?
-
Hi there.
Sounds like redirect loop. Check your htaccess.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Same URL names in one domain
Hi All, I have 9 different subdirectories for languages in the same domain example: www.example.com/page.html www.example.com/uk/page-uk.html www.example.com/es/page-es.html we are implementing hreflang tags for the languages. I know it is better to translate URLs, but we won't for now, because all the NON-ASCII characters. But we are thinking to get rid of the dashes on the languages URL: -uk or -es, so it will be: www.example.com/page.html www.example.com/uk/page.html www.example.com/es/page.hrml would this be a problem? to have same page names even if they are in different subdirectories? would we need to add canonical tags, at least for the main domain URLs? www.example.com/page.html Thank you, Rachel
Technical SEO | | RaquelSaiz0 -
Purchased domain with links - redirect page by page or entire domain?
Hi, I purchased an old domain with a lot of links that I'm redirecting to my site. I want all of their links to redirect to the same page on my site so I can approach this two different ways: Entire site
Technical SEO | | ninel_P
1.) RedirectMatch 301 ^(.*)$ http://www.xyz.com or Page by page
2). Redirect 301 /retiredpage.html http://www.xyz.com/newpage.html Is there a better option I should go with in regards to SEO effectiveness? Thanks in advance!0 -
Has anyone else seen a large drop in Domain Authority this week?
A site of ours and its competitors have all seen pretty big drops in domain authority over the past week or so. Just wondering whether this could be something to do with a change in how DA is measured or whether its our backlink profile that is the problem. Any feedback would be much appreciated!
Technical SEO | | SEO_Jellyfish0 -
Two domains / same Content
Hi MOZzers, I have recently started working for a client who owns two domains (as recommended by their Web Development company), each omain is a complete duplication of the other. The only difference is one is a totally keyword focused domain name, the other is their brand name which also contains keyword. In a search for blocks of content the keyword focused domain comes up, the other doesn't and when I conducted a search for one of their primary services again the keyword focused domain name came up on the first page, but the branded search also appeared on the second. The web development company have been managing this company's Adwords account and promoting their brand name and up until today I was unaware of the other. Can I have some thoughts - do I ask the web developers to re-direct one to the other, or leave as it?
Technical SEO | | musthavemarketing0 -
Redirect /label/ to /tags/
Hi guys, I have noticed loads of errors in webmaster, page not found.. /label/..... what i need to do is to a 301 redirect to /tags/... can some one tell me the redirect code to help fix this issue Regards T
Technical SEO | | Taiger0 -
Http:// to https:// 301 or 302 redirect
I've read over the Q & A in the Community, but am wondering the reasoning behind this issue. I know - 301's are permanent and pass links, and 302s are temporary (due to cache) and don't pass links. But, I've run across two sites now that 302 redirect http:// to https://. Is there a valid reason behind this? From my POV and research, the redirect should 301 if it's permanent, but is there a larger issue I am missing?
Technical SEO | | FOTF_DigitalMarketing1 -
Change e-commerce platform and domain name SEO issue.
Hi, We are looking to switch from Bigcommerce to either Magento or Shopify, but we have some concern about the redirecting of all URL and not sure where to help. Also, we are looking to remove "hyphen" www.ide-home.com.au in our domain name, again it is all about 301 redirecting. We need SEO expert to help us with all changes that minimize the effect on Google. Does anyone can suggest which company or who we can ask for help? Thanks very much.
Technical SEO | | ide-home020 -
I am able to point an old domain name to part of my site
hi, i have a domain name to a site that i have but i am thinking of closing that site down and transfer it to a site that is popular. I want to know if i am allowed to point the domain name to a section of my site and if so would it benefit my site or should i just continue running the other site and make it better. would the links to that site be transfered to my site any advice would be great.
Technical SEO | | ClaireH-1848860