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
-
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 -
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 -
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 -
Should I link from my blog back to my product pages?
Hello... I just installed a blog on my Magento site. My question is whether or not i should be linking within posts on the blog back to the product or category pages that i am talking about...from an SEO perspective. If in my post i am talking about flashlights being important when preparing for a storm, should i link the word flashlights to the flashlight category on my site? I know I can do this, the question is should i, from google's perspective. A) should i link the word (flashlights) to that category on my page B) should i put a line at the bottom of every post that says something like "if you are interested in purchasing flashlights, visit this link" and hyperlink that whole sentence... THANKS!
Link Building | | Prime850 -
Will a mega menu on all pages dilute the link juice?
On our web site (http://www.betxpert.com) we have a mega menu with quite a lot of links in it. I am getting warnings in SEOmoz saying we have far to many links in our pages. But a lot of pages have large menus with a lot of links - are all pages punished for this then? My primary question is: Since the menu is on all pages, the pages linked in the menu will have a link in from all of our pages (200K+ pages) and a lot of these do not have a good ranking. So what I want to know is if the pages linked in the menu will have lower ranking because of the many links in - or is this a good thing? Should I consider setting "nofollow" for som of the links on other pages than the homepage (since this is the page with the best rank)?
Link Building | | rasmusbang0 -
How many links per week is too fast in link building?
For a new website/blog how many links per week looks suspicious or hurt the rankings?
Link Building | | aaran1 -
Does linking to a subdomain give link juice to the main domain?
I have a few domains that I'm going to use for link building, will the link juice from the sub domains transfer to the main domain?
Link Building | | Vsky0 -
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