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
-
My site is linked from over 900 "The Globe"-domains - disavow or not?
Hi! As some of you may be familiar with, there is a giant spam-network with the same design and same page title on all domains: "The Globe - The world's most visited web pages". For example: theglobe.at
Link Building | | Sindre
theglobe.co.za
www.internet-search.us I've now discovered that over 900 of these spam-domains link to my site. My plan was of course to disavow them all, but Google is explicit on telling me to be careful. «Only disavow if you are certain that the links are damaging to your rankings». And to be honest, I'm not sure. Also: it seems drastic to disavow almost a thousand pages. I'm afraid to mess something up. What would you do?3 -
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 long does it take to get links indexed?
How long does it take Google Webmaster tools on average to detect links to my website? What about OSE? My site is fairly new (launched in January) and I've done some guest blogging -- I would think that some links from 3-4 weeks ago would be showing up by now. Am I just being impatient?
Link Building | | atstickel120 -
How to make google index the page title has changed ?
Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change.
Link Building | | tuananh0688
Please help me .
My site : http://blog.addme.vn0 -
Link Detox and Link Removal
I have a question about which links to remove after running a link detox from Link Research Tools. First a little back story. I had had an SEO company link building for one of the websites I own. But I have recently stopped working with them. In the last month my rankings have near dropped off the charts. I have just recently gotten access to Google webmaster tools and noticed an unnatural link warning from back in March. So yesterday I ran link detox and it reported 19 toxic links, 120 suspicious links, and 24 healthy links. It's rather obvious that I should remove all of the toxic links. They all from sites that have been deindexed by google. But my question is a about the suspicious links. What should my criteria be for removing them? Am I better off removing them all and leaving my site with only 24 healthy links or should I personally comb through them and remove only the worst of the worst so that I leave my site with a few more links? I'd really like to get the site ready to resubmit to google as soon as I can. Thoughts? yyCOf.png
Link Building | | CobraJones950 -
Text Link vs image link?
Which passes most link juice a text link or an image with the correct 'alt' attribute? Do the pass the same amount or is one more valuable than the other?
Link Building | | SamCUK0 -
It is ok to link together multiple domains on the same ip?
I have multiple domains (more than 50) in the same niche. All domains are on the same ip. It is ok to link them together, or to create a piramid link between them?
Link Building | | maldiniii0 -
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