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 -
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 -
Internal Linking - Post links vs Side Bar Links behaving differently
Hi, I have a question regarding the internal linking behavior. My website is www.hindimeaning.com which is approx 3 years old. I have approx 450 posts. Now i have a widget on right sidebar "Popular posts". A widget below my posts "Related Posts". And a simple html CSS menu above the posts (I removed menu around 6 month before so currently it will not show.) I crawled my site with moz crawler (same are the result from google crawler as well) and it shows menus links as internal links. While sidebar widget "Popular posts" and "Related Posts" are not showing as internal links. If we talk theoretically what i learn till now is "every link on a page behaves as internal link". Then why the widget links are not showing as internal links. Thanks, Mahesh Kumar
Link Building | | chaudhary04890 -
What's more important page authority Vs domain authority?
Hello everyone, I am fairly new to SEO so I'm still trying to get my head round everything, I am currently looking into some back links .. well looking at competitor's back links to copy. I was just wondering what's more important page authority or domain authority? So for example if a page has a page authority of 50 and a domain authority of 10 is that better than if a page have page authority 10 and a domain authority of 50. Thanks so much in advance!
Link Building | | vanplus1 -
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 -
Etsy.com --Getting link juice through other pages on search results?
My sister has a store page on etsy.com where she sells home made crafts. And I want to help her rank higher on google with some of the other etsy stores. So i started to look at the other etsy store pages that are ranking well on google and found that they have a page authority between 48 to 52. So i looked at the backlinks of the ones ranking well on google with high page authority and found that many of their best links came from the internal search results page on etsy.com, and some only had one link from just an arbitrary etsy.com search page. I'm thinking this is because another product being listed on the seach page has a high page authority which then passes some of its link juice onto every other product on the page. But what is interesting is products are always being sold or getting added so even though you are on a search results page that happens to benifit from the link juice of another product the next time the page gets crawled you will be on a different search page. So i am thinking in order to maintain high page authority to you just have to have a lot of products listed so that there is a greater likely hood that you will find yourself on the same search page as another high authority page. I have not been doing SEO very long so i would love to hear what others think. I really have no idea, am i on the right track with this? (edited post) Thanks
Link Building | | doug5650 -
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