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
-
Alexa top domain losted link
my website has alot of losted backlink from alexa top domain. is it ok ? url: https://www.payamgostar.com/
Link Building | | pgmarketing2008acn0 -
SEO value of home page links
I was looking at the website peak7.org and there are links on the homepage that rotate at the bottom. Do such links have SEO value even though they are not static text links? Are they still counted as links by Google if they are in that rotating carousel?
Link Building | | RandyHT1 -
Internal Link Building and Link Juice Quality
Hi There! I manage the website for a law office that covers many geographical locations. For very specific niche content, we would prefer to create one piece of content and link to the various geographic locations where we would handle that topic instead of posting multiple variations of the same content for each specific geographical area. If we put a button on these pages that has links to each location, will that have the same "link juice" effect to the pages we're linking that linking directly in the text would? (example: the Where can we help you? button on this page : http://www.zdfirm.com/volkswagen-recall/) Thank you!
Link Building | | ZDAdmin0 -
How do I search for a link within a competitors website that is linking my website?
Hello, I have just been checking my link profile and according to webmaster tools a competitor is linking to my website. Is there anyway of finding this link besides looking at every page within their website? Many thanks
Link Building | | mblsolutions0 -
What is a good ratio of total links to linking root domains?
Is 100 total links for every linking domain too high? I suppose I could also look at ratios of sites that are doing well in the rankings.
Link Building | | ProjectLabs0 -
"gimme links" = easy to fill out profile/personal reputation links that offer a do-follow anchor text flexible link
I'm doing some SEO for small niche service sites...and aside from niche directories and some light article marketing and local search directories (yelp, etc) there really isn't a budget for content generation. I really only have a budget for profile/submission links. What are some sites where you can quite easily fill out a personal profile with an anchor text variable link that may not be THAT juicy but will stick (i.e. not a spam/fake profile type of link, but something like Linkedin). I'll start with giving away 1 www.istockphoto.com Any others that aren't obvious?
Link Building | | ilyaelbert0 -
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