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
-
Redirecting dofollow, high-domain-authority links from one site to another: good idea?
I have two sites that offer help for freelance writers. The first gets almost no search traffic and is very low priority for me. The second is my main priority and gets substantial search traffic. The low-priority site has a significant number of dofollow backlinks from high-domain-authority sites. Is it a good idea to 301 redirect these links to similar/related posts on my high-priority site? Would this potentially boost the SEO of my high-priority site? Thanks for any help!
Link Building | | John88990 -
My site is linked from over 900 "The Globe"-domains - disavow or not?
Hi! As some of you may be familiar with, there is a giant spam-network with the same design and same page title on all domains: "The Globe - The world's most visited web pages". For example: theglobe.at
Link Building | | Sindre
theglobe.co.za
www.internet-search.us I've now discovered that over 900 of these spam-domains link to my site. My plan was of course to disavow them all, but Google is explicit on telling me to be careful. «Only disavow if you are certain that the links are damaging to your rankings». And to be honest, I'm not sure. Also: it seems drastic to disavow almost a thousand pages. I'm afraid to mess something up. What would you do?3 -
Back link from site with DA of 72 to a website domain. Clicking on the link redirects to our website not the attended one.
Hi,
Link Building | | JIMBO16
I've ran a back link check and discovered a good back link to a site which then gets redirected back to my company's website. I have a feeling that an old SEO agency has purchased a small website which has a decent link back from a relevant organisation with a high Domain authority and then redirects the domain to our website to get the link juice. What are your thought on this? Is this really bad practise and possibly damaging? Thanks, Jim0 -
Are links with space considered to be the same as links with %20?
I wonder if Google would consider those three links to be the same? http://www.example.com/test page.html http://www.example.com/test page.html http://www.example.com/test+page.html
Link Building | | lucek0 -
How can I find all the outbound links from a website domain?
I want to find all the outbound links (basically whatever comes in <a>tag) from a domain (say www.abc.com) as well as all the subdomains under it (say abc.com/a etc). Open Site Explorer provides the inbound links from a website but does not provide any functionality to get all the outbound links from a website. Is it possible to do?</a> <a>Thanks in advance. Deepak Jain</a>
Link Building | | Deepak_Jain0 -
Footer Links And Link Juice
I'm starting to learn about link juice and notice in GWMT > Traffic > Internal Links, that the list is in this order by the links counted on each page. Some are in the footer and some are in the header, with some being more important than others commercially i.e. /register /privacy /terms /search /sitemap /disclaimer /blog /register So I am wondering if I should add a 'no-follow' attribute to the footer links i.e. privacy, terms, disclaimer and leave the others as they are? Does this help retain link juice on each page where the links appear? Or am I missing the point all together? This is my website: http://goo.gl/CN0e5
Link Building | | Ubique0 -
Domain Authority and nofollow links?
Hello, I'm wondering, are 'nofollow' links from websites with high domain authority beneficial? Would they boost our own DA? In essence, I'm wondering if there is added value (other than visitors clicking the link) to being linked to by a 'nofollow' link. Thanks!
Link Building | | yacpro130 -
Building backlinks on sub-pages instead of main page(rood-domain)
Hey Mozzers! I am facing a problem and I need advice. I have recently opened my new website, which purpose is to offer quality articles, optimized for SEO. The problem is that I cannot find the right keyword to use for the main(root) domain (http://xxxxxx.org) as it is consisting of many niches. Is it a good idea to build backlinks on pages (http://xxxxxx.org/the-keyword-for-ranking) instead of building them on my root-domain? So basically, my root-domain will have less backlinks than my pages inside? Please give me some advice and way to act with. Thank you
Link Building | | Ralchev0