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
-
Backlinks vs External Links vs Referral Links vs Outbound links
Hello all, I was just wondering if you could explain the difference between all the links above? I'm confused as they all seem to be the same or similar and I would just like to clearly know what distinguishes them from eachother. Thanks for your help, Jayne
Link Building | Aug 31, 2017, 5:03 AM | NCOREGSEO0 -
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 | Mar 19, 2015, 2:20 PM | Turkey0 -
What is a good ratio of total links to linking root domains?
Is 100 total links for every linking domain too high? I suppose I could also look at ratios of sites that are doing well in the rankings.
Link Building | Jul 2, 2013, 6:54 AM | ProjectLabs0 -
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 | May 21, 2013, 2:55 AM | lucek0 -
Does blocking domains help remove bad links?
I have affiliate websites that are harming for one of 2 reasons: 1. They are on adult websites (and I don't want to be in a bad neighborhood) or 2. They are using a Frameset (so their content appears identical to mine and I am getting "credit" for all their junk links) I cannot get these websites to remove our links so I have blocked their IPs on our production firewall. Is this an effective method or should I do something else with these links?
Link Building | Aug 20, 2012, 8:44 AM | theLotter0 -
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 | Oct 24, 2014, 4:18 PM | doug5650 -
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 | May 18, 2011, 3:12 AM | Store210 -
Can link juice be passed in an iframe from domain A to domain B
Need to give our web partners our booking form which must be loaded in an iframe calling back to our domain. Is it possible to pass any link juice from their domain loading our iframe back to us. Was thinking of a "Powered by" text link in the form footer, but I'm guessing the link needs to be outside the iframe. Would love to hear any thoughts or workarounds on this.
Link Building | Apr 28, 2011, 3:42 AM | apolloseo1