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
-
Domain Change, loss of inbound links ...
We're strongly considering a domain name change; this is purely for marketing reasons. We think in the long term, this will be a good thing. I believe we can mitigate the page redirection, branding changes, etc. My concern are the inbound links: from 200+ domains, 3,000+ links. So, I guess we can contact each of the top sites linking to us and hope they update our links. I'm not hopeful. I believe we'll loose must of the links. Has anyone been down this road and have experience to share?
Link Building | | jmueller0823
What should I expect, worst case? Is there a way to mitigate? Thanks much.
Jim0 -
I am getting links on people's wordpress blogs but are not showing up on the just discovered tool. Is it true that wordpress links are no-follow links that do give off any link-juice?
A blogger told me that "wordpress.com does not allow blogs to show advertisements or use links to sites that sell merchandise of any kind" is this true? Am i wasting my outreach time trying to get links from wordpress operated blogs?
Link Building | | odegi0 -
Moving off page blog to on page blog
Hi, I was using free wordpress blog and i have around 18-20 content on the blog. Now, we've managed to have blog on our main website which has www.mysite.com/blog extension. We did this so we could create more links on the website/ I am a little unsure how to move the blog now. Should we copy & paste the blog articles from old blog to new one and remove them from old blog? I am just not quite sure how would it effect the links. If i keep the old articles on the old blog and create new articles for the new one, it'll take me a while before i get them written. Any recommendation appreciated. Thanks
Link Building | | Rubix0 -
Page links vs. domain links
Hello all, I am trying to find out how Google weighs page inbound links vs. domain inbound links. I have a domain with about 100,000 inbound links and am adding a new page to my domain which at this time has 0 links. I will be trying to outrank a competitors page that has 6,000 inbound links to the competitors page, but only has 26,000 inbound links to my competitors domain . Is there a formula or a way to know how Google values a page link vs. a domain link?
Link Building | | digitalops0 -
OSE returns strange domains and pages
Hi guys, I've just started using Seomoz and so far it is awesome! However, there is one thing that I can't figure out. When using Open Site Explorer to analyze inbounds links my competitors got, I've found that one of them has links coming from strange domains like fema.gov. It is unlikely that they have a link coming from such a site, but all these sites have a download as the top linking pages. Probably the top 20 linking root domains are like this. So my question is; is this a bug in OSE, how do I find out if they really have a link coming from this site?
Link Building | | HDPHNS0 -
9306 inbound links but onle 143 root domains?
I need help with my link building efforts so I have started to search around for companies and/or freelance contractors to hire. I always ask for examples of sites they are working on. In many cases the number of inbound links are high (9306) compared to the number of root domains that are linked to (143). Or as in this sample (120792) inbound links compared to (157) linking domains http://www.shortsalesafe.com. How can this be? To me the only logical answer is "link farms" or some other form of black hat magic. Am I right in my assumption, or is there another logical answer for so many links with so few linking domains.? Thanks Gary
Link Building | | fun52dig0 -
Total Links vs Ext. Followed Links
Hi I'm fairly new to SEO and SEOMOZ. I've created a campaign for my own site and I've added 3 competitor sites. There are 1,385 total links to my site and a massive 49,450 links to one of my competitor's site. However under "Ext. Followed Links", there are 1,045 to my site and only 911 to the same competitor site. Am I correct that it is the "Ext. Followed Links" which are more important from an SEO point of view as the other links have the "no follow" attribute set? Or have I got this wrong? Thanks James
Link Building | | avecsys0 -
High Domain Authority Even Though It has spam links to it...?
I own a domain that can provide links to my website, but it seems to have picked up a lot of spammy links - 2000+ linking domains. SeoMoz toolbar still gives it a domain authority of 66. Should I use the domain to link to my site? Or will it have a negative impact?
Link Building | | barnst0