Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
linking domain issues
Hello guys. I am having issues with my linking domains. These domains are made outside of my website. I have tried to disavow these links but not able to do it. These are mostly from google redirects links. Here is the```
Link Building | | Rom1988z
code_text0 -
Back link from site with DA of 72 to a website domain. Clicking on the link redirects to our website not the attended one.
Hi,
Link Building | | JIMBO16
I've ran a back link check and discovered a good back link to a site which then gets redirected back to my company's website. I have a feeling that an old SEO agency has purchased a small website which has a decent link back from a relevant organisation with a high Domain authority and then redirects the domain to our website to get the link juice. What are your thought on this? Is this really bad practise and possibly damaging? Thanks, Jim0 -
I just uncovered a massive 500+ domain PBN linking to competitors
As the title, some competitors I've been watching are using a PBN they (or their agency) have built. I'm looking to get some discussion on how you approach situations like this - do you just report all of the domains to Google and pray they do something? There are 4 sites I'm looking at, all competing in the same niche with very similar websites (different branding and content, but essentially the same pages). I thought all were related, but after Excel-ing all the domains to see which overlap I've found that there's several sets; PBN 1 covers 117 domains that link to competitors A, B & C. Signaling to me that these are owned by the same person. PBN 2 links together B & C with 30 domains, PBN 3 is just C with 40 domains. PBN 4 is just B with 105 domains. PBN 5 is just A with 10 domains. PBN 6 is D by itself with more than 340 domains. Signaling to me that this one probably isn't owned by the same person. It looks like new domains are added to these PBNs every week and this has been going on for quite some time. Now, I'm fully against use of PBNs that don't use authentic websites that provide value, and I can't find any of these sites that aren't just a basic WP template with a single-word text logo followed by spun content. This is a goldmine, because according to Ahrefs these sites are pulling in well over 500,000 monthly visitors between them, and these links make up the majority of each site's link profile. If these networks were to crumble, that would open up a big opportunity for more authentic sites to rank well. How would you recommend to tackle this? Do I find example URLs and write reports for each of the 500+ domains or are there better ways of working through this?
Link Building | | Leads.Bz0 -
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 -
Link Detox and Link Removal
I have a question about which links to remove after running a link detox from Link Research Tools. First a little back story. I had had an SEO company link building for one of the websites I own. But I have recently stopped working with them. In the last month my rankings have near dropped off the charts. I have just recently gotten access to Google webmaster tools and noticed an unnatural link warning from back in March. So yesterday I ran link detox and it reported 19 toxic links, 120 suspicious links, and 24 healthy links. It's rather obvious that I should remove all of the toxic links. They all from sites that have been deindexed by google. But my question is a about the suspicious links. What should my criteria be for removing them? Am I better off removing them all and leaving my site with only 24 healthy links or should I personally comb through them and remove only the worst of the worst so that I leave my site with a few more links? I'd really like to get the site ready to resubmit to google as soon as I can. Thoughts? yyCOf.png
Link Building | | CobraJones950 -
Does blocking domains help remove bad links?
I have affiliate websites that are harming for one of 2 reasons: 1. They are on adult websites (and I don't want to be in a bad neighborhood) or 2. They are using a Frameset (so their content appears identical to mine and I am getting "credit" for all their junk links) I cannot get these websites to remove our links so I have blocked their IPs on our production firewall. Is this an effective method or should I do something else with these links?
Link Building | | theLotter0 -
Should I 301 Redirect The index.html Page?
Hello, As an experiment I am trying to work with an SBI site but am noticing index.html is being forced on me as the homepage. As I understand it's good practice to 301 redirect the index.html page to the to the actual home page. Can someone please confirm that I am right in thinking this? Here is an example: http://www.anguilla-beaches.com/index.html
Link Building | | umtmedia
http://www.anguilla-beaches.com/ According to yahoo 773 links are pointing to the index.html page and 771 links are pointing to the / page. I'm sure Google knows that these are the same pages and does not consider them as duplicate but surely the index.html page should be redirected right? am I going mad here? Now if we look at this site: http://www.jugglenow.com the homepage has 198 links according to yahoo
http://www.jugglenow.com/index.html this page also has 198 links? now I am confused, are these 2 the same page? On this page: http://www.jugglenow.com/juggling-balls.html notice how there is no link to the actual homepage but there is a link to the index.html page. Am I missing something here because I can't figure it out, surely there should be just 1 homepage without a index.html page. Any help would be appreciated0