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
-
Puzzled by high ranking page (#2 in SERPs) with zero/low page or domain authority
So, I get the smoothie that is page authority and domain authority and the link metrics that Moz uses to predict how well a page will rank for a certain keyword. I can look at a specific search term where we are on say, page 2 or 3, with a page authority of 1 and domain authority of 26, I get why competitors rank above us. But then I look at a keyword that is much more competitive, where we rank #2, which is awesome, where the landing page is also showing a page authority of 1, and domain authority of 26. How can we rank higher than competitors with a page authority of 56 and domain authority of 65? Their onpage optimization for the keyword is no worse, and sometimes better that ours but we maintain this ranking. By the way the competition also have hundreds if not thousands more linking root domains than our page. Any ideas why one keyword is a rockstar and one is a dud, with the same poor PA and DA?
Link Building | | seo-lab1 -
Do links to my website improve all pages?
I'm currently building links to my home page (through directories) and blog pages. However, none of these pages are actually targeted pages for main keywords. In SEO, do links to any webpage of a site contribute to the improved rank of other pages?
Link Building | | Gavo0 -
E-Commerce more emphasis on root domain and categories?
Hi all, I'm still in my dilema after taking over this ecommerce site. Currently running Volusion(please for your own sake never use them, 7$ for each GB over), I plan on taking the site to a dedicated server running on Magento. Should we worry too much since majority of our links are to the root domain while a small portion is to actual products? I think there should be more emphasis on the categories and root domain rather than actual product pages. I mean this is e-commerce and not a content site. Thanks!
Link Building | | William.Lau0 -
How many links with page authority to beat competition if we already score 62
How many links with page authority do I need to beat or get closer to competitor with page score 78 and domain authority score 72, if we already score 68 on page and 62 domain authority. This is in one of many beauty product markets. I ask because there is a company offering me for $80 each 10 links with higher than 70 page score (up to 80) and higher than 74 domain score (up to 86). All the other factors: number of links and social are almost the same for our website and the competitor's
Link Building | | beehappy1 -
Minimum desired for Domain Authority and Page Authority
I see messages and threads talking about the less importance on PageRank and more importance on Domain Authority and Page Authority. As I work on our link building, do I steer away from low DA and PA websites? If so, whats the minimum threshold I should stay away from? If I see a site that has a Domain Authority as low as 9 - is that the minimum? What is? What do you think?
Link Building | | findachristianjob0 -
Should I optimize/link build all my pages at once?
I'm currently starting to optimize about 30 area specific pages for a property maintenance company and was wondering, what's the best way to link build multiple pages at once? Should I link build for all of the 30 the pages at once, or maybe focus on 5 individual pages - get them ranking well, then focus on the next 5 and so on?
Link Building | | guy_andrews0 -
Is there way to identify all back links throughout a site or do I have to check one site page at a time? Thanks!
Sorry if it is obvious, but I can't seem to figure it out. I'd like to be able to run a report that will list all of the back links on every page of my site.
Link Building | | TRCCommunications0 -
Link Churn - where have all my links gone?
I am sure most of you have asked yourself the question I'm asking right now.. Where have all my links gone? I am starting to get twitchy now. I would estimate we have lost around 60% of our links in the past 3 weeks. Does anyone have any comeback stories? Feel like I am back to the start again. I have made a number of changes on the site not least removing a reciprical link page.. that had over 200 links on it but from reading one of Rand's tweets is it true that linking out could be good again?
Link Building | | robertrRSwalters0