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
-
Why MOZ just index some of the links?
hello everyone i've been using moz pro for a while and found a lot of backlink oppertunites as checking my competitor's backlink profile.
Link Building | | seogod123234
i'm doing the same way as my competitors but moz does not see and index lots of them, maybe just index 10% of them. though my backlinks are commenly from sites with +80 and +90 DA like Github, Pinterest, Tripadvisor and .... and the strange point is that 10% are almost from EDU sites with high DA. i go to EDU sites and place a comment and in lots of case, MOZ index them in just 2-3 days!! with maybe just 10 links like this, my DA is incresead from 15 to 19 in less than one month! so, how does this "SEO TOOL" work?? is there anyway to force it to crawl a page?0 -
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 -
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 -
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 -
How many links with page authority to beat competition if we already score 62
How many links with page authority do I need to beat or get closer to competitor with page score 78 and domain authority score 72, if we already score 68 on page and 62 domain authority. This is in one of many beauty product markets. I ask because there is a company offering me for $80 each 10 links with higher than 70 page score (up to 80) and higher than 74 domain score (up to 86). All the other factors: number of links and social are almost the same for our website and the competitor's
Link Building | | beehappy1 -
Building backlinks on sub-pages instead of main page(rood-domain)
Hey Mozzers! I am facing a problem and I need advice. I have recently opened my new website, which purpose is to offer quality articles, optimized for SEO. The problem is that I cannot find the right keyword to use for the main(root) domain (http://xxxxxx.org) as it is consisting of many niches. Is it a good idea to build backlinks on pages (http://xxxxxx.org/the-keyword-for-ranking) instead of building them on my root-domain? So basically, my root-domain will have less backlinks than my pages inside? Please give me some advice and way to act with. Thank you
Link Building | | Ralchev0 -
Finding pages with a high Page Authority
Hi, Whats the quickest way to find pages with a high authority using SEOMoz? Cheers Mik
Link Building | | increation0 -
Building Links to Exact Match Domains
What are the pros and cons having exact match domain and how can you create a brand name and build backlinks? Say we have a domain personalizedbirthdaygifts.com We are quite stuck with what anchor text we need to use and how do we vary it? I've heard that we have to stay away from using commercial keywords as anchor text heavily. We have to also use our brand name. And here we get stuck as we don't have a brand name. In this case Our brand name should be personalized birthday gifts but this is also commercial keyword. I have seen before similar websites droped from ranking because they have commercial keywords in their domain and most of their backlink anchor texts are commercial. If I had a website called twentyfive.com selling birthday gifts it would be a lot easier. But when you have a website personalizedbirthdaygifts.com and trying to rank for personalized birthday gifts and birthday gifts it's tough. OR isn't it? I hope I explained it well and didn't confuse anybody... Thanks
Link Building | | Jvalops0