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
-
Spam links in spam analyses tool: Referral page doesn't exist anymore
Hi, I have the following problem: The spam analyses tool in MOZ gives me a few links with a spam score of 10 and 9. I want to remove those links and try to contact the webmaster before disavowing the links. I read about being careful with too much disavowing. Unfortunately removing the links isn't possible because three different reasons: The page/subdomain of one referring website that should have a link to my website doesn't exist anmymore (compliance.ikkiesvoorverandering.nl/). The website http://ikkiesvoorverandering.nl does exist, but is almost empty and there is no possibility to contact the webmaster. What do you guys recommend to do in this situation? Any experience with this problem? On another website (with again no contact option) there is a link who directs to a former website, which has a redirect to my current website. I have no Google search console on that old website anymore. Does that make it impossible to disavow the link? What are other option to remove this link? The website that comes up in the spam analyses tool is pretty much empty (http://veensma.jouwbegin.nl/). How can I delete a link from an empty website? Any thoughts? I hope someone can help me with this, Would be glad to here from you 🙂 Lars
Link Building | | DPA0 -
Header and Footer Links on Home and other catelog pages of site
Hello, in our site www.mycarhelpline.com - we have just reworked on header and footer links. Have removed lost of unncessary footer links. However, the header links on extreme top right side has some links like - login, register, about us, partner with us etc. Is is that google will give importance to these links and i rather should move them to footer links of page and should move the most important anchor links on the top header. Pl suggest
Link Building | | Modi0 -
Is it better to link back to the root domain, or the specific page you're optimizing for?
I'm working on a project our site - building links for iPhone Repair. For the term "iphone repair miami" - is it more ideal to link to the root domain (xxx.com) or to the subpage that is about iPhone Repair (xxx.com/iphone-repair)? I would imagine the latter - but obviously that page has less authority than the root. Thanks!
Link Building | | preemo0 -
Low page rank directories but high domain authority?
I just paid someone to submit me to a few directories and I saw were I was listed on one of them today. The url page authority of where I was listed was a "1" with zero moz trust and zero moz authority. The root domain authority is a "69". Is page authority or domain authority the most important for links? I believe all the directories I was submitted to have url page authority of "1". ( I watched a video yesterday and I think the head guy said that page authority was most important but I am not sure.
Link Building | | Boodreaux1 -
Would you advise removing a "links" page?
I'm doing a site audit for someone and they have a links page full of reciprocal links for other similar businesses across the country. My gut instinct is to remove this page. How would you approach this if this was your client?
Link Building | | MarieHaynes0 -
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 -
Different Link Titles Linking to the same page
So I'm doing a lot of link building but my question is how do search engines treat different link titles to the same page. For example, my main page is www.musillawfirm.com If I have 20 links from 20 sites linking to it as Melbourne FL DUI Lawyer and 20 more linking as Melbourne FL immigration Lawyer and More linking as Cocoa FL DUI lawyer etc... what happens? Do the search engines just rank me higher for all the terms or would it be better to always just link to separate landing pages? Thanks in advance
Link Building | | musillawfirm0