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
-
Unsolved Are links from staff profile pages no longer good for SEO?
Hey there, We run a small site that lists lawyers and we have an opportunity to ask the lawyers to display a 'badge' on their own website's staff page, linked back to the page on our site that they are listed on. Initially I thought this would be good link building (i.e. the lawyer's own staff/profile pages on their website linking to our site where they are listed = a highly relevant link). I was less concerned about the authority of the law firm's sites, though these will range from sometimes low-ish to medium. I just assumed that Google would see the value in the lawyer wanting to link to our site where they are listed. However, our SEO has said that these days Google doesn't give much/any value to these types of links from individual staff pages. His advice was to try and get the badge added to one of their service pages (or their About page) which will be unlikely as the badge is person-specific. I thought I'd ask if this was everyone else's experience regarding Google not valuing links from individual staff pages? Thanks for you help 🙂
Link Building | | Andy-H0 -
My site is linked from over 900 "The Globe"-domains - disavow or not?
Hi! As some of you may be familiar with, there is a giant spam-network with the same design and same page title on all domains: "The Globe - The world's most visited web pages". For example: theglobe.at
Link Building | | Sindre
theglobe.co.za
www.internet-search.us I've now discovered that over 900 of these spam-domains link to my site. My plan was of course to disavow them all, but Google is explicit on telling me to be careful. «Only disavow if you are certain that the links are damaging to your rankings». And to be honest, I'm not sure. Also: it seems drastic to disavow almost a thousand pages. I'm afraid to mess something up. What would you do?3 -
Root-Domain vs Subdomain Linkbuilding
Hello Mozzers! Couple of days ago I received a request to start optimizing a wordpress website, the domain itself has been around for around 10-12 years so it's it can be considered as one that has real history behind it. The page has been moved from HTML/FLASH to wordpress about 3 - 4 years ago and hasn't been any SEO maintenance on it. The site used to rank for first position with several keywords, but now understandably, it has greatly decreased. My main question would be, that when I've checked the root domain's and the subdomain's metrics with MOZ Open Site Explorer, the sub domain (with "www.") showed a PA 40 and 90 external links while the root domain (without "www.") only has 27 PA and 6 External links. I know that the 301 or server redirects only transfers about 90% of the link juice to the targeted URL but the difference between the 2 results seem way too big for me. What do you think? Is this normal?
Link Building | | adamdankhazi
During future link building is it more beneficial to target the root domain so the page won't lose that "10%" by redirecting the new link from sub-domain to root domain?
Is it possible to get more juice transferred? Thank you very much,
Adam0 -
How can I find all the outbound links from a website domain?
I want to find all the outbound links (basically whatever comes in <a>tag) from a domain (say www.abc.com) as well as all the subdomains under it (say abc.com/a etc). Open Site Explorer provides the inbound links from a website but does not provide any functionality to get all the outbound links from a website. Is it possible to do?</a> <a>Thanks in advance. Deepak Jain</a>
Link Building | | Deepak_Jain0 -
How to make google index the page title has changed ?
Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change.
Link Building | | tuananh0688
Please help me .
My site : http://blog.addme.vn0 -
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 -
Unique Domains vs. Total Links?
At what point is there diminishing returns from getting multiple links from one website? Edit: To clarify, when doing competitor research I come across lots of sites that have say 500 linking domains with 5000 total links. When setting goals and calculating the types of links I should go after, I'm not certain which number is the one actually helping the site to rank.
Link Building | | ErikDster0 -
Backlink booster - boosts and helps to index links?
Hello all, We are using a tool called backlink booster that works in the following way: you view a page with a backlink to your site click on a boost link saved in favourites the link is pinged to rss directories and web 2.0 sites The idea is to get your links indexed faster. Has anyone used this or something like this and had any benefit from it? Thanks Shehzad.
Link Building | | Gareth_Cartman0