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
-
What is the importance of root domains linking to your website in Google's rankings? I notice our competition has a much higher number on keywords I'm analyzing. Thank you!
I've noticed our competition has a much higher number of "root domains" linking to their page than we do. Is this simply a result of more websites linking to them? How long does it normally take to build up these numbers/rankings? (I'm assuming it's a concerted effort, which I'll be researching.) Thank you!
Link Building | | mjfinet0 -
Can I find out how many of a competitors 25k links are coming from which domains?
Can I find out how many of a competitors 25k links are coming from which domains?You can see in the image I uploaded, the first competitior, Suzuki of Wichita, they have 25,000 total links. dRTAKAt.png?1
Link Building | | Mrupp440 -
SEO Value Of Non-Indexed Links
I have a link built to a site, but it's not showing up in Open Site Explorer and doesn't appear to be indexed currently by Google. Does anyone know of any research done on SEO value if any on non-indexed links? Thanks
Link Building | | EmarketedTeam0 -
How to link building 5days domain
i like to start give some backlinks to my brand new domain any advices for new domain ?
Link Building | | cutekid10 -
Link building from keyword domains
Hi all, I am currently working on link building to our site http://www.betxpert.com which has a number of keywords I am targeting. I have become aware that domains with the keywords are available. We (in Danish) target the phrase "ekpert tips" and the domain www.eksperttips.dk is available. Would it be a good thing for us, to register this domain and do one of the following things: a) DNS forward traffic to our main site b) Build a small blog with minor content and linking to the main site with text links with the tekst "ekspert tips"? c) Simply do nothing, save the money and spend it otherwise... Hope someone can give me a sound advice. Best regards, Rasmus
Link Building | | rasmusbang0 -
Back linking: Relevance or Domain Authority?
For back linking, what is more important for increasing rank for organic searches on Google? I've noticed that linking on sites with high domain authority that have some or no relevance boost my keyword ranking. However, does back linking on relevant sites help if their domain authority is not so high?
Link Building | | Modbargains0 -
Link Building: No linked to content in industry
Hello, I'm doing link buidling for a small ecommerce niche. There's no resource content in the niche (looking at OSE Top Content) that has attracted backlinks (on any sites) How should this effect what resource content I should create. Thanks!
Link Building | | BobGW0 -
Page Autorithy vs. Domaine Autorithy
What is the relationship one vs. the other. What if DA is high and PA very low? I guest the best is to have the highest PA & DA? Will it influence results to have a link from a site with a DA of 80 and a PA of 0 for example? Thank you, Jean
Link Building | | BigBlaze2050