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
-
1000's Backlinks from ONE Root Domain - Positive or negative?
One of my website's link is placed over a comment. This website has a "recent comments" section in the footer which is hence appearing on all the websites pages. All tools including - Google Search Console, Majestic and MOZ are showing 45000+ links from that root domain. Questions: Are these links harmful to my rankings? Should I get all those links disavowed? Should I disavow the root domain or leave the link that lies on the home page? What if there are up to 10 links coming from a domain? is that harmful too? Apart from disavowing, is there any other option to get this fixed? If at all this counts as an issue... Thanks in advance!!
Link Building | | Ishrat-Khan0 -
Are links from BBB on non-accredited business pages helping SEO?
I've been doing a lot of research on BBB and the site's value. I know you have to pay for accreditation as well as a link, and most search engine optimizers says it's worth it. I added a company to BBB in October, but I did not pay for accreditation or a link, and yet a link still appears on the business' BBB page. Is this link still a followed link? Does Google view it as an important link? If a non-paid link on BBB is still good, I don't see too many more benefits to BBB accreditation than the trust factor and possibly gaining an A+ ranking.
Link Building | | rcseo0 -
External Followed Links in the Competitive Domain Analysis Report
In the Competitive Domain Analysis report, why does the number of my external followed links vary over time. Some weeks its high some weeks it's low. Doesn't seem to be a pattern.
Link Building | | PGD20110 -
Why aren't my links being indexed
I am building backlinks from similar sources to 2 different domains. Domain A seems to get its linked indexed within a day or 2, while Domain B has virtually identical links that haven't indexed for over a month. Domain A is older and has more authority, and Domain B is hosted on a different server. Any insight into why this is happening? It's very frustrating.
Link Building | | insitegoogle0 -
External links--Does it matter which page they go to?
I'll be doing some linkbuilding in which I will be asking manufacturers of the products we sell to link back to our site. My thought was to have a single page for our "Valued Suppliers" with a badge that I would give them the embed code for. If the URL goes to a "Valued Supplier" page on our site where there are multiple manufacturers, will this help my entire site or only the page that's being linked to? Thanks in advance!
Link Building | | AC_Pro0 -
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 -
Making deep links to your page on BBB or DMOZ - Effective or waste of time?
Hi, Has anyone tried making links to a deep links to a page on an external site (like dmoz or the bbb) which has a link to your website? Of course, you might wonder "it depends on the type of link" you make to this larger site. Let's say it's a link (without no-follow) on a forum or blog comment - low-quality but on a decent site. Anyone think this may have some benefit to increase the chance / rate that your own link from another site will be indexed more and provide more benefit? A dmoz link is great, but it's on the backpages because it's a huge site, opensiteexplorer hardly indexes dmoz links. Regards,
Link Building | | qlkasdjfw
Valters0 -
Will building up the page rank of a page you have a inbound link bring any benefit?
Right then here we go You have a link in an article on a well known national newspaper site that points at your website. Is there any benefit of linking to the newspaper article in order to build up the PR of the article page and therefore passing over some link "juice"? Sub questions 1. Would it be more beneficial simply to gain links to your main website? 2. What are the chances of the article going into the archives and then at some stage being deleted? 3. If the article link points to a domain, which then forwards to a another domain will this pass on any "juice"? 4. If the article points to a domain that then 301's to another domain will this pass on any "juice"? 5. Does Google simply register the link and "juice" on the first pass or will it revisit and upgrade the "juice"? 6. What are the negatives? 7. What are the positives?
Link Building | | therealmarkhall0