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 -
Should my backlinks point to my home page or to internal article pages?
Hi, I run a fitness blog and I get the majority of my backlinks through guest posts that I write on high quality sites. Sometimes they allow me to put a backlink within the article, and I'll link it to a relevant article of mine. However, in the "author bio" section my backlink anchor text is usually just my brand name. I was wondering if this backlink should point towards my home page or is it more beneficial to point it towards an important article of mine? Thanks
Link Building | | jeremyethier0 -
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 -
Backlinks from the Same Domain (But Different Pages)
Wayyy back when (in the days of yore) Mr Cutts spelled out in a video that page rank is distributed equally between the external links on the page. If there are two links on a page, each gets passed 50% of the available page rank etc. (Perhaps an oversimplification but bear with me). As a result of this, the company I worked for at the time (this was the dark ages when sidebar homepage links were in vogue) decreed that we would only ever approach a site about a link for a client once, as additional links had little extra SEO Value. Now you could argue that if there are 5 external links, each acquiring 20% of the power, and your site has 2 of those, you are getting 40% of the power, but lets forget the basic math for a minute. I have scoured the web and Mr Cutts' videos and I cannot find the answer to my question: If my site (Site A) has a backlink from SiteB Page 1, and a backlink from SiteB page 2 - does this count as two separate links in the eyes of Google? If the SAME site links out to my site, linking to different pages in different posts, does this give me more SEO benefit? Thanks for your time!
Link Building | | Turkey0 -
Footer Links And Link Juice
I'm starting to learn about link juice and notice in GWMT > Traffic > Internal Links, that the list is in this order by the links counted on each page. Some are in the footer and some are in the header, with some being more important than others commercially i.e. /register /privacy /terms /search /sitemap /disclaimer /blog /register So I am wondering if I should add a 'no-follow' attribute to the footer links i.e. privacy, terms, disclaimer and leave the others as they are? Does this help retain link juice on each page where the links appear? Or am I missing the point all together? This is my website: http://goo.gl/CN0e5
Link Building | | Ubique0 -
Will Google penalize for backlinks on non-indexed pages?
Have a client who has a bunch of links from spammy sites that aren't even indexed by Google. Will Google penalize (i.e. Penguin) for backlinks from spammy sites that aren't indexed? I'm guessing "Yes, Google still crawls non-indexed sites and may penalize the sites linked to from the banned site." Anyone have any data or experience with this? Anyone have a non-indexed or banned site? Does Google still crawl it?
Link Building | | AdamThompson0 -
Do links from my own subdomain to my main domain carry any value?
I currently have a Wordpress blog set up on a subdomain i.e blog@ etc. I wanted to know whether the links from the blog to my main site carry any value.
Link Building | | Store210 -
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