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
-
Too many on page links
Hi i'm new to MOZ, after sacking my SEO consultant due to the penguin update. My site position isn't fantastic right now for my national and local search terms 😞 The first problem i have is tackling too many on page links. I understand it should be 100 or less, unless users would benefit more. Looking at my links i have up to 200 on page links (which i know are not beneficial or user friendly). If i give you an example this page has 208 links: http://www.drivejohnsons.co.uk/blog/page/3 Heres another one with 157 links: http://www.drivejohnsons.co.uk/author/admin/page/2 Here's one that isn't associated with my blog that has 188 links: http://www.drivejohnsons.co.uk/testimonials On average most pages excluding the blog have around 120 links per page and i know thats to do with my Nav Bar - which i will sort out. My question is: Because the majority of these high link pages are associated with my blog, will that affect my site SEO performance? If yes, does anyone have any suggestions as to how i can reduce the total links on each page within my blog? The more i blog, this number is only going to increase 😞 Im using wordpress. I was just wondering if any of these imports would help ? | Blogger | Install the Blogger importer to import posts, comments, and users from a Blogger blog. Blogroll | Install the blogroll importer to import links in OPML format. Categories and Tags Converter | Install the category/tag converter to convert existing categories to tags or tags to categories, selectively. LiveJournal | Install the LiveJournal importer to import posts from LiveJournal using their API. Movable Type and TypePad | Install the Movable Type importer to import posts and comments from a Movable Type or TypePad blog. RSS | Install the RSS importer to import posts from an RSS feed. Tumblr | Install the Tumblr importer to import posts & media from Tumblr using their API. WordPress | Install the WordPress importer to import posts, pages, comments, custom fields, categories, and tags from a WordPress export file. | If anyone can help, i would very grateful.
Link Building | | Anthony19820 -
What should be the ration of inbound link between Home page and Internal pages?
What should be the ration of inbound link between Home page and Internal pages? And also wanted to clear my doubt, suppose My website is related to Technology niche with different technologies like PHP, Java etc. Is this better idea to submit internal PHP page link in PHP related directories? Although I know that in the most of the directories have very large number of categories.
Link Building | | Perfect0070 -
Root Domain Link for Affiliate's Link
It seems my affiliate link: http://www.hrmsplugins.com?partners=21 is not being considered as a "root domain" backlink when this link is used on their website. Is there a reason for this?
Link Building | | delphia0 -
Is it better to link back to the root domain, or the specific page you're optimizing for?
I'm working on a project our site - building links for iPhone Repair. For the term "iphone repair miami" - is it more ideal to link to the root domain (xxx.com) or to the subpage that is about iPhone Repair (xxx.com/iphone-repair)? I would imagine the latter - but obviously that page has less authority than the root. Thanks!
Link Building | | preemo0 -
Open Site Explorer - Finding 404s from my competitor's external linking Root Domains
I want to find websites that have linked 404s to my competitors. My goal is to contact webmasters who have linked to my competitors with 404s, but I cannot figure out how to get Open Site Explorer to give me that data. I can easily see this in GWT for my own site, but I need this for my competition instead. Does anybody know a quick way to get this information?
Link Building | | Francisco_Meza0 -
Linking Root Domain does not show twitter
I wonder what it takes to capture twitter as a backlink. We have a twitter account @idyllicsoftware which never occurs in open site explorer. Also it never shows newer back links. Could you suggest how to use it better?
Link Building | | idyllicsoftware0 -
How to find high PR & Domain authority websites to build links?
Hi Guys, Please can you help me if you can. How to find high PR & Domain authority websites to build links? I really want to learn as much as I can from link building, but I am not sure how to find out how to find high PR websites to build links from.. Can any help me?? Thanks Gareth
Link Building | | GAZ090 -
Using parked domain page to get 50k+ of low quality links, good idea?
Hi all, I'm managing the seo for a hosting company. We have a lot of parked domains with a parked domain page. This will now be updated to promote our products. When this page is updated it will give 50k+ of low quality links to specific pages almost overnight. We curently don't have a very good seo ranking for our keywords, so there is little risk on the downside in the short term. Do you have any suggestions as to how I should go about this? Some alternatives off the top of my head: 1. get the page up an focus all the link equity on relevant pages with keywords in anchor text 2. add noindex / nofollowto all pages or only part of them to avoid puishment 3. add noindex / to the majority of the pages and "release" a percentage every week or so to avoid a "link bomb" Thanks for any and all input!
Link Building | | espenjo_mamut0