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
-
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 -
Does no-indexed page has an impact on bounce rate
my question is: I have a page that contains some external links, I know when visitors click on them and leave my site it hurts my bounce rate, But I have a solution for that, I am using external link redirection code, with this code after users clicking on external links they are not leaving my site and first went to some link like this: "http://mysite.com/redirect/https://externalsite.com/" and after 10 seconds they redirect to the external site, I make this redirect page noindex and nofollow. but the question is does this noindex page can decrease my page bounce rate because users don't leave my site and first go to another page of my site. but I don't know does no-indexed page has an impact on bounce rate or my struggle is worthless
Link Building | | mmohammadi1250 -
Backlinks from the Same Domain (But Different Pages)
Wayyy back when (in the days of yore) Mr Cutts spelled out in a video that page rank is distributed equally between the external links on the page. If there are two links on a page, each gets passed 50% of the available page rank etc. (Perhaps an oversimplification but bear with me). As a result of this, the company I worked for at the time (this was the dark ages when sidebar homepage links were in vogue) decreed that we would only ever approach a site about a link for a client once, as additional links had little extra SEO Value. Now you could argue that if there are 5 external links, each acquiring 20% of the power, and your site has 2 of those, you are getting 40% of the power, but lets forget the basic math for a minute. I have scoured the web and Mr Cutts' videos and I cannot find the answer to my question: If my site (Site A) has a backlink from SiteB Page 1, and a backlink from SiteB page 2 - does this count as two separate links in the eyes of Google? If the SAME site links out to my site, linking to different pages in different posts, does this give me more SEO benefit? Thanks for your time!
Link Building | | Turkey0 -
How long does it take to get links indexed?
How long does it take Google Webmaster tools on average to detect links to my website? What about OSE? My site is fairly new (launched in January) and I've done some guest blogging -- I would think that some links from 3-4 weeks ago would be showing up by now. Am I just being impatient?
Link Building | | atstickel120 -
How to make google index the page title has changed ?
Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change.
Link Building | | tuananh0688
Please help me .
My site : http://blog.addme.vn0 -
Text Link vs image link?
Which passes most link juice a text link or an image with the correct 'alt' attribute? Do the pass the same amount or is one more valuable than the other?
Link Building | | SamCUK0 -
Helpful or Hurtfull / Distributor Links to Our site on every product page?
We have a distributor site with a page rank of 3 on its home page, and 0-1'ish on its product pages. While our manufacturing site is PR 4 getting close to 5... We are thinking about adding a link from our distributors product pages to our manufacturing appropriate material information page. This would be about 10k links spread out among 7 materials. We want to add these links to help our distributor sites customers, but we don't want to hurt our manufacturing site in the process. I personally don't know of any problem this would cause, but our manufacturing site is so important I need to verify adding this many links wouldn't hurt us. Your thoughts and knowledge is appreciated.
Link Building | | donford0 -
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