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
-
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 -
Hyphenating a Domain Name - What would you do?
So I have some chums setting up their own digital outfit. When discussing SEO, naturally domain names came into play. They were looking at 'Gray Digital'. So, initially they jumped to the conclusion that they ought to buy 'graydigital.com' and the .co.uk variant. But a best practice post: http://moz.com/learn/seo/domain - Leads me to think that 'gray-digital.com' may be the better option as far as readability is concerned? Then of course you start thinking - 'should we just make it 'Gray-Digital-Marketing.com' instead?' From your experience, what would you ladies and gents do? Kind regards, John. (EDIT: Having read more around the subject I realise more than one dash is a bad idea. So instead would you bother with the singular hyphen?)
Technical SEO | | Muhammad-Isap0 -
Is it necessary to 301 rewrite /index.php to /?
Hi, We have build a lot of external link to http://www.oursite.com/ Do I have to do a 301 redirect from http://www.oursite.com/index.php to http://www.outsite.com/? Thanks
Technical SEO | | LauraHT0 -
Blog.domain.co.uk or domain.co.uk/blog
Hi Guys, I'm just wondering which offers more SEO value and which is easier to set up out of: blog.domain.co.uk domain.co.uk/blog Thanks, Dan
Technical SEO | | Sparkstone0 -
Repeating brand name on all subcategory levels
As part consolidating our site navigation, I have an opportunity to change how we name url s on child pages. At present, I think there are 2 problems that could be fixed.
Technical SEO | | stephenfishman
1.As you drill down, the brand name is not part of each url.
2. Also, the urls show abreviations that are not customer friendly. Are these worth changing? I am redirecting pages whether I change the naming or not. Below is my current navigation and below that the changed navigation I am considering. Many thanks to all that look and share their thoughts. Handcrafter --- details -- This is an e-commerce site with on hand products and similar products which are custom ordered from a catalog: Current Navigation Drill Down: /ctgy/brandname.html /ctgy/brandname-onh.html
/ctgy/onhmir.html then the specific products:
/onhmir/30322-onhmir92_741.html
/onhmir/30324-onhmir96_743.html The catalog has more products and so has 1 extra level of child category pages:
ctgy/brandname.html
/ctgy/brandname-cat.html
/ctgy/brandname-catmir.html
/ctgy/design1catmir.html
/ctgy/design2catmir.html then the specific products:
/catmir/30322-catmirhappy.html
/catmir/30324-catmirhappy.html Changed Naming Under Consideration:
On pages above the product page, (category pages) spell out all words and place the brand name in the parent url. The result would be: /ctgy/brandname.html /ctgy/brandname-on-hand.html
/ctgy/brandname-on-hand-mirror.html then the specific products:
/brandname-on-hand-mirror/30322-onh-mir92_741.html
/brandname-on-hand-mirror/30324-on-hand-mir96_743.html The catalog has more products and so has 1 extra level of child category pages: /ctgy/brandname-catalog.html
/ctgy/brandname-catalog-mirror.html
/ctgy/brandname-catalog-mirror-style1.html
ctgy/brandname-catalog-mirror-style2.html then the specific products:
/brandname-catalog-mirror-style1/30322-cat-mirhappy.html
/brandname-catalog-mirror-style1/30324-cat-mirhappy.html0 -
Mobile Site Domain/URL Structure
We are currently building a mobile optimised version of our main website and I had some questions with regard to SEO. 1. Is it best to structure the domain as: m.yourdomain.com yourdomain/m 2. It is correct to place rel="cannonical" on the mobile pages and to have only the main site indexed? Thanks in advance and links or books on mobile seo you can direct me to that would be greatly appreciated. Phil
Technical SEO | | Phily0 -
Getting multiple errors for domain.com/xxxx/xxxx/feed/feed/feed/feed...
A recent SEOMoz crawl report is showing a bunch 404's and duplicate page content on pages with urls like http://domain.com/categories/about/feed/feed/feed/feed/feed and on and on. This is a wordpress install. Does anyone know what could be causing this or why SEOMoz would be trying to read these non-existent feed pages?
Technical SEO | | Brandtailers0 -
Are sub domain names a good idea
Hi i have read some info that says that sub domain names help with increase traffic but i am not sure if this is true. I would like to know if i should use a subdomain name to increase the size of my website and increase traffic. I have also read that it is a good idea to put a blog on a subdomain name. Can anyone share their experience and let me know if they have found that sub domains are a good idea
Technical SEO | | ClaireH-1848860