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
-
Value of Links? What is each link worth?
Morning Everyone, I just had this thought and wondered what everyone's opinions were in terms of link value in monetary terms. We'll assume for the purposes of this that the links come from contextually relevant sites and that the sites in question have got the Moz DA from being high quality and have a good quality incoming link profile. Its a bit of a theoretical question, but i guess imagine if the only way you could get links was to pay for them, what would they be worth to you. This is link value for SEO purposes, they will have in addition value from traffic from good sites, that no doubt varies wildly depending on topic. I assume everyone also agrees on: The first link from a domain is the most valuable High DA sites are worth more than low ones. So could anyone who has an opinion on the link value suggest a monetary value for links. Its really just using a monetary amount to see how best to target my time. Here is my example of what might be expected, but I am hoping people with more knowledge will perhaps correct it. DA Rating First Link 2nd-5th Link 5th-10th Link 10Plus Links 5 $5 $2 $1 $0 15 $7 $3 $2 $1 25 $25 $10 $5 $2 35 $45 $20 $7 $3 45 $65 $30 $11 $4 55 $95 $45 $19 $5 65 $200 $100 $45 $6 75 $350 $120 $65 $9 85 $700 $240 $95 $15 95 $1100 $450 $200 $30
Link Building | | wellandpower1 -
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 -
Does the root domain hold more power then an inner page?
Question, Lets say a new domain is launched, the root domain and an inner page target the same term. Google comes along for the first time and indexes the website. Does it see the target term on the homepage as more important then the inner page because you are putting it on the root? I get the feeling terms connected directly with the root domain have a better chance of ranking then the term being on a inner page. Any thoughts on this?
Link Building | | activitysuper0 -
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 -
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 -
Do links within imbeddable widgets carry link juice?
I'm dipping my toes into infographic design. On of my desired outcomes is to gain links by having other sites embed my graphic. I'm considering using Tableau's interactive data visualization software to do so; thus creating a widget, embedding it on my blog, and including the embed code for others to post. Is it possible to include a juice passing link in such an infographic? I know its possible to include links inside the tableau graphic but not sure if they have straight SEO value. If these links are not juice passing would it be better to go with a simple image link that passes value?
Link Building | | JesseCWalker1