Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Linking to root domain or index page
-
While link building, should I link to index page of my website i.e www.mydomainname.com/index.html or should I link to root domain i.e www.mydomainname,com
Also I see duplicate title error for index page and root domain in error statistic. How can I get rid of this.
-
Hi Arti,
Generally, you want to link to your root domain. Many common website templates link to home as /index.html, but that really hasn't been necessary for years.
The easiest way to fix this would be to add a canonical tag in your homepage, which is the /index.html file. It would go in the section and look like this:
After you add this, when you look at your source code for your homepage, you should see this tag in there from whatever address you reached the page from.
There's a lot of information on duplicate content out there, and a lot of different ways to fix the same problem. Here's a good overview of the subject:
http://www.seomoz.org/blog/duplicate-content-in-a-post-panda-world
Best of luck with your SEO.
-
To me, that's not what your 404 page is for. I wouldn't recommend doing it. What happens if they typo something, or hit a bad link some other way? There's no message to tell them what happened and it creates a confusing user experience.
Better, in my opinion, to redirect the file individually
Arti, there's a good article on SEOmoz about redirects. Down the bottom, there are some how-to guides on how to do things like 301's. Just be careful of infinite loops if you're using apache.
http://www.seomoz.org/blog/url-rewrites-and-301-redirects-how-does-it-all-work
-
Hi Anthony, Thanks for your reply. Does that mean that I should actually remove index.html from my website. Also please help me for 301 redirect. Rgds Arti
-
If you have wordpress you can add
<code>php header("HTTP/1.1 301 Moved Permanently"); header("Location: ".get_bloginfo('url')); exit(); ?></code>
<code>to your 404 page.</code>
-
Hi Arti,
You'll just need to create a 301 redirect from www.yoursite.com/index.html to www. yoursite.com. This will permanently eliminate the /index.html version (which is a duplicate page) and fix the duplicate content error.
After that, build links to www.yoursite.com.
Hope this help. If you need more info on how to do the 301 redirect just let me know.
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
-
When conducting a link building strategy does it matter the country the link is from?
We are a UK business and if we have links mostly from US based blogs and websites does this penalise us. The links are from relevant websites and topics. Should we be focusing on .co.uk sites
Link Building | | Caffeine_Marketing1 -
Should my backlinks point to my home page or to internal article pages?
Hi, I run a fitness blog and I get the majority of my backlinks through guest posts that I write on high quality sites. Sometimes they allow me to put a backlink within the article, and I'll link it to a relevant article of mine. However, in the "author bio" section my backlink anchor text is usually just my brand name. I was wondering if this backlink should point towards my home page or is it more beneficial to point it towards an important article of mine? Thanks
Link Building | | jeremyethier0 -
Root-Domain vs Subdomain Linkbuilding
Hello Mozzers! Couple of days ago I received a request to start optimizing a wordpress website, the domain itself has been around for around 10-12 years so it's it can be considered as one that has real history behind it. The page has been moved from HTML/FLASH to wordpress about 3 - 4 years ago and hasn't been any SEO maintenance on it. The site used to rank for first position with several keywords, but now understandably, it has greatly decreased. My main question would be, that when I've checked the root domain's and the subdomain's metrics with MOZ Open Site Explorer, the sub domain (with "www.") showed a PA 40 and 90 external links while the root domain (without "www.") only has 27 PA and 6 External links. I know that the 301 or server redirects only transfers about 90% of the link juice to the targeted URL but the difference between the 2 results seem way too big for me. What do you think? Is this normal?
Link Building | | adamdankhazi
During future link building is it more beneficial to target the root domain so the page won't lose that "10%" by redirecting the new link from sub-domain to root domain?
Is it possible to get more juice transferred? Thank you very much,
Adam0 -
How do we optimise links from a parent company to a subsidiary on different domains
So we are the agent for an industrial company. They don't have a great website (well its pretty but doesn't rank) and have 5 product pages with a variety of products on each. We've taken those products and turned them into 50 pages with good on page optimisation. Now they've just agreed to give us a link on each page and I'm trying to figure out what the best text and link will be. As far as I can see there are three options Visit our agent for X region - sending to the home page If you are from X region you can request a sample of product group from our agent - sending to home page and product category page on our site If you are looking for X, Y, Z or P, Q, R in this region contact our agent there. - sending to home page and individual product pages The aim of this is to boost my page authority as 98% of the top 10 in SERPS have pages with zero authority and rely on the on page optimization and DA. Is this the best approach or are there other better ways of approaching the problem. It's worth noting that there is a total separation of control and ownership of the websites. I'm also starting to work with them to improve their on page optimisation and get links from their parent company to increase link juice
Link Building | | Zippy-Bungle0 -
What is a good ratio of total links to linking root domains?
Is 100 total links for every linking domain too high? I suppose I could also look at ratios of sites that are doing well in the rankings.
Link Building | | ProjectLabs0 -
Link Detox and Link Removal
I have a question about which links to remove after running a link detox from Link Research Tools. First a little back story. I had had an SEO company link building for one of the websites I own. But I have recently stopped working with them. In the last month my rankings have near dropped off the charts. I have just recently gotten access to Google webmaster tools and noticed an unnatural link warning from back in March. So yesterday I ran link detox and it reported 19 toxic links, 120 suspicious links, and 24 healthy links. It's rather obvious that I should remove all of the toxic links. They all from sites that have been deindexed by google. But my question is a about the suspicious links. What should my criteria be for removing them? Am I better off removing them all and leaving my site with only 24 healthy links or should I personally comb through them and remove only the worst of the worst so that I leave my site with a few more links? I'd really like to get the site ready to resubmit to google as soon as I can. Thoughts? yyCOf.png
Link Building | | CobraJones950 -
Finding pages with a high Page Authority
Hi, Whats the quickest way to find pages with a high authority using SEOMoz? Cheers Mik
Link Building | | increation0 -
Does linking to a subdomain give link juice to the main domain?
I have a few domains that I'm going to use for link building, will the link juice from the sub domains transfer to the main domain?
Link Building | | Vsky0