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
-
External links to my non-indexed pages
If an external site links to one of my non-indexed pages, will that still pass link juice and help with my domain authority? Thanks!
Link Building | | mztobias0 -
Manual Links Vs. Smart Links
Hey Everybody, Is there any downside to the smart link plugins that I see all over wordpress? Basically in short I enter a keyword and where I want that link to go (primarily internal) and set the parameters of repetition etc and it automatically adds the link to that. Now other than the obvious situation where it might put a link in an awkward place, is there anything wrong with this sort of software? Part of me things that this sort of software would not be liked by Google, and that it isn't really getting counted as a true link, but i wanted to see if there were other thoughts or experience with this.
Link Building | | HashtagHustler0 -
Internal Links - How to Increase them, Categories not being considered as Internal Links
Hi All: As per my understanding, Internal Equity Passing Links is a metric defining PA. Now my website has around 65 internal links while few of my competitors have more than 180 links. I am unable to understand how to increase the internal links passing equity on my website, because I can see, more number of links on my website than my competitors but opensiteexplorer does not show that. I am really confused. Please help out if anyone knows something about this issue. Thanks in advance.
Link Building | | sidjain4you0 -
No-index tags-Can they be used in internal linking?
On my site http://villasdiani.com I am using yoast seo plugin and have I am using tags to organize category with villas on self-catering, full board etc but I have them set no-index as I believe they would create only duplicate content for the categories. Is it still ok to use this tags for internal linking? Example: I have a post in my blog which links to category Beach Villas(they are set to be indexed) and I would like to add option also for self-catering villas itself, which is a tag(set no-index) I am not sure if I am getting this right. Thank you very much, Iris
Link Building | | Rebeca10 -
Deep Links From Same Domain
I know that it is best to diversify your inbound link profile, but I would like to know the best practices for a domain as a whole as opposed to the domains component pages. If I have a good link source (say for example Squidoo) that can provide links to a website's home page AND a few of its lower tier pages, are all these links of more or less equal value (for seo purposes) to each of the link targets, or does Google simply use a "one source domain, one counted link" approach? Thanks Bill
Link Building | | veezer0 -
Can I Boost Ranking Linking off Pages internallly?
My domain authority is relatively low, but my right now my homepage seems to have the highest rank. If I place a few internal page links on my homepage, would this boost ranking on internal pages? Or would it pull juice away from my homepage? Using the Seomoz OSE I see alot of my competitors using this type of strategy linking internally. Also would using breadcrumb links benefit me in anyway? Thanks very much!
Link Building | | TP_Marketing0 -
Link Building strategy between domains I own?
I am in the somewhat unique position of owning and administering around 300 websites that each have their own unique domain names. We have a corporate website and then many individual websites for hospitals and nursing centers that we operate. My question is how would you recommend using these sites to build good incoming links between all the sites? Should I take every opportunity to find as many places to link from each site to all the other sites that are owned? Is there anything I should avoid that Google would penalize me for or discount the links all together? Sorry this is a such as long question... but wasn't sure where to start. Thanks!
Link Building | | KHCreative0 -
Building Links to Exact Match Domains
What are the pros and cons having exact match domain and how can you create a brand name and build backlinks? Say we have a domain personalizedbirthdaygifts.com We are quite stuck with what anchor text we need to use and how do we vary it? I've heard that we have to stay away from using commercial keywords as anchor text heavily. We have to also use our brand name. And here we get stuck as we don't have a brand name. In this case Our brand name should be personalized birthday gifts but this is also commercial keyword. I have seen before similar websites droped from ranking because they have commercial keywords in their domain and most of their backlink anchor texts are commercial. If I had a website called twentyfive.com selling birthday gifts it would be a lot easier. But when you have a website personalizedbirthdaygifts.com and trying to rank for personalized birthday gifts and birthday gifts it's tough. OR isn't it? I hope I explained it well and didn't confuse anybody... Thanks
Link Building | | Jvalops0