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
-
Redirecting dofollow, high-domain-authority links from one site to another: good idea?
I have two sites that offer help for freelance writers. The first gets almost no search traffic and is very low priority for me. The second is my main priority and gets substantial search traffic. The low-priority site has a significant number of dofollow backlinks from high-domain-authority sites. Is it a good idea to 301 redirect these links to similar/related posts on my high-priority site? Would this potentially boost the SEO of my high-priority site? Thanks for any help!
Link Building | | John88990 -
Does no-indexed page has an impact on bounce rate
my question is: I have a page that contains some external links, I know when visitors click on them and leave my site it hurts my bounce rate, But I have a solution for that, I am using external link redirection code, with this code after users clicking on external links they are not leaving my site and first went to some link like this: "http://mysite.com/redirect/https://externalsite.com/" and after 10 seconds they redirect to the external site, I make this redirect page noindex and nofollow. but the question is does this noindex page can decrease my page bounce rate because users don't leave my site and first go to another page of my site. but I don't know does no-indexed page has an impact on bounce rate or my struggle is worthless
Link Building | | mmohammadi1250 -
How do we optimise links from a parent company to a subsidiary on different domains
So we are the agent for an industrial company. They don't have a great website (well its pretty but doesn't rank) and have 5 product pages with a variety of products on each. We've taken those products and turned them into 50 pages with good on page optimisation. Now they've just agreed to give us a link on each page and I'm trying to figure out what the best text and link will be. As far as I can see there are three options Visit our agent for X region - sending to the home page If you are from X region you can request a sample of product group from our agent - sending to home page and product category page on our site If you are looking for X, Y, Z or P, Q, R in this region contact our agent there. - sending to home page and individual product pages The aim of this is to boost my page authority as 98% of the top 10 in SERPS have pages with zero authority and rely on the on page optimization and DA. Is this the best approach or are there other better ways of approaching the problem. It's worth noting that there is a total separation of control and ownership of the websites. I'm also starting to work with them to improve their on page optimisation and get links from their parent company to increase link juice
Link Building | | Zippy-Bungle0 -
Are links with space considered to be the same as links with %20?
I wonder if Google would consider those three links to be the same? http://www.example.com/test page.html http://www.example.com/test page.html http://www.example.com/test+page.html
Link Building | | lucek0 -
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 -
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 -
Two Links, Same Anchor Text, To Same Page. Is There A Point?
Hey guys, My question is this. Let's say I have an article, "How To Golf". I post this article onto my blog. Then I write a complementary article to the first article called "Introduction To Golf". My plan is to submit this new article to various directories to build backlinks for the article on my blog. So here lies my question. Say I am allowed two links from my new article to the one on my blog. The anchor text I am using is "golf". Is there a point to including two links with the same anchor text (golf) in the new article pointing back to my blog article? When Google spiders the complementary article will it consider the links two separate links with the anchor text "golf" or will it just count the two links as one link. After all, the two links have the same anchor text and are both pointing to the same page.
Link Building | | lawrenceyu11130 -
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