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
-
Post index of quality back links; How long should you leave it to see if it's had any impact?
The question is pretty much in the title. We had a link from a Charity site (high PA/ DA) and from Metro online recently. Indexed about 3 weeks ago and 5 days ago respectively. No movement to speak off. (Previously we've seen significant boosts from far lesser links). Should I assume they have had no effect? Or is too early to tell I know it takes up to 2 months for some of our new pages to rank, same with passing authority from links? (Note: I appreciate the competition will play a significant part in this, but my question is specifically about how long one should leave to know one way or another. )
Link Building | | isaac6630 -
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 -
Best way to structure a service area page with many locations to maximize internal links to them?
Currently our service area page (http://www.njlimocarservice.com/services.html) very sloppily lists many of the towns we serve in multiple counties - over 50 approx (scroll down). They have been placed that way so there is links to them from one of the subpages directly linked from the root domain. I am now attempting to make it pretty and organized with my designer. I intend to maintain a link to each individual town/landing page for SEO purposes to keep it close to root domain. My questions is how to best structure this. I don't want to list by county because some people don't know what county the town is in. However an alphabetical list may be overkill as there is so many. The other option is to get a search form or dropdown list on there but how will my landing pages be recognized by crawlers if there is no internal links from my root domain? Eventually we plan to expand further so what happens when we add 100+ landing pages? What will then happen to my internal link juice? Thanks!
Link Building | | kabledesigns0 -
Is purchasing internal page links from directories worth it?
Since data suggests that only the first link on a page to a singular URL is counted, are the deep links purchased from directories worth the money/provide any value?
Link Building | | mj7750 -
How do I link specific keywords to a specific URL on my landing page? i.e.-Cloud Computing
Example keyword Cloud Computing California. How do I link this keyword on SeoMoz to a specific URL on my landing page?
Link Building | | SteelsmithGroup970 -
How useful/ damaging is it to have links repeated on every page ?
Our site is dynamic in nature we have tens of thousands of indexed pages with numerous individual brands pages - all of the brand pages are equally important. We are trying to distribute link juice to those pages as much as possible - so my question is --- Is it smart and or useful or perhaps damaging or spammy to have a space on the bottom of each page throughout our site with links to each and every single brand page ? is this practice considered as duplicate content etc ?
Link Building | | AJMKristi0 -
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 -
Links from low PA pages on high DA sites... What effect do they have?
My company's website has inbound links from very high DA websites (LinkedIn 96, Yelp 91, etc.) but from pages with very low PA (1). These low PA pages are the company listings pages. In the case of Linked In, there are several products/services listed with ideal anchor text to the relevant pages on our site. How do these links effect our overall ranking and trust, and why aren't they listed when I use OSE to analyze my pages? Thanks!
Link Building | | sverdino0