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
-
How can a slight brochureware website with little content or keywords be getting DA 96, PA 59 and linking domains of 50.5million?
How can a Facebook page get domain authority of 96, page authority of 59 and have 50million linking domains? I come across websites that feature crappy video clips in serp features in google searches, the website.
Link Building | | DavidLandManager
It's surely black hat tactics. How do they get away with this? The website has zero content beyond light brochureware.
Screenshot 2021-07-23 at 06.59.45.png0 -
Inbound link is follow link but we put no follow link back - is it beneficial for rankings?
Dear Moz Community, We are operating in a niche market, where there are not so many content marketing options. What we are left with are link exchanging with relevant sites that are on the same topic but to not directly compete with us. Now we know that if we link back to site A and site a links back to us - for google this is not a very good link. But, some of the sites we are exchanging links with, do not know the term follow vs no follow links. My question - if your link is to site A is a no follow link but they give us a follow link - does it mean thats a better option than a follow vs follow. Thanks for help!
Link Building | | advertisingcloud0 -
How much time does it take for the links to be forwarded to redirected link?
Hi there,
Link Building | | MoeezLodhi
Thank you for taking out some time for this question; I have changed the permalinks last week for a website.. I forgot to redirect old permalinks to the new one.. So I did 301 redirection, it has been 4-5 days since I did that but the links are not forwarded to the new Permalink so far.
How much time should I wait for the links to be forwarded to the new permalinks? Secondly, I am sure I have done the 301 redirect correctly, as when I go to the old url / permalink it directs me to the new permalink. So I am sure 301 is done correctly. Do I need to submit the sitemap again?0 -
If a bad link domain drops from my site do I regain authority.
Hi Guys, I wanted to know for example if 2 years ago I purchased SEO from some guys that were building links to sites that had very high PR which was important way back when. And now those links are negatively affecting my SEO stopping me reaching position 1 for a term 'replacement keys' and we are stuck in position 2. If the sites were to be reset or domains sold for those sites that were linking in do you think this was remove the penalty on us as a knock-on effect. Thanks James
Link Building | | jameslane880 -
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 -
Link from or 301 Domains?
I have 3 domains that are in the same niche as my main site and not connected in any way. Now my question is should I just link to my main site from each of them on a page that is relevant to my main Keywords or should I 301 them to the site? I am thinking that building a link to my main site would have more effect than 301's. Thanks in advance!
Link Building | | JerrodDavid0 -
2 links going to same domain but different pages
Hi, How is the link juice distributed when you have 2 links in the same article but they go to different pages on the same domain? I know some say if 2 links go to the same page in an article then only the first link passes juice. Would it be better to have 2 articles each having 1 link or 2 articles each having 2 links?
Link Building | | activitysuper0 -
Too many external links vs linking root domains - good or bad?
Hi guys, After the latest Linkscape update, we noticed that our website have 424,671 external links with 4,395 linking root domains, so roughly 100 links/domain. Does Google consider this to be a negative thing or we do not need to worry about it. Many thanks. David
Link Building | | sssrpm0