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 links are not Getting indexed in Moz
Hi Moz family i have a website relate to air purifier and i purchased 5 to 10 gigs for different sort of backlinks but 4 weeks gone still i have not seen any backlinks are indexed in moz but 40% are indexed in ahref Any body can please explain how can they will indexed? Any best indexing method? Thanks
Link Building | | bradyknaus1 -
External links to my non-indexed pages
If an external site links to one of my non-indexed pages, will that still pass link juice and help with my domain authority? Thanks!
Link Building | | mztobias0 -
Linking to press coverage, reciprocal links?
We have been generating decent online press coverage with links to our site thanks to our PR agency and I have been asked to link to the online coverage from our website in a 'press coverage' section. My question is would google consider links from our site to the online press coverage as reciprocal links? Thanks
Link Building | | gavinr
Gavin0 -
How can I find all the outbound links from a website domain?
I want to find all the outbound links (basically whatever comes in <a>tag) from a domain (say www.abc.com) as well as all the subdomains under it (say abc.com/a etc). Open Site Explorer provides the inbound links from a website but does not provide any functionality to get all the outbound links from a website. Is it possible to do?</a> <a>Thanks in advance. Deepak Jain</a>
Link Building | | Deepak_Jain0 -
Low quality links for Amazon product page=high rank?
I am wondering if there would be any benefit in using low cost link building gigs off of fiverr and seoclerks for specific Amazon product pages. The theory I have heard behind this is Amazon's authority is so high, that even the bad links pointing to the specific product page add to the SEO of the page. When google see's a product page on Amazon, they already assign it a high authority, so links help google see which page is the most popular in that niche, and ranks it. Amazon product pages already rank high in google search results, so the idea is this would give specific pages a little boost. Do you think this is a valid method for getting a specific amazon product page to rank high on google search? I understand this is not the normal type of question here, and it really only applies to Amazon product pages specifically, and not normal sites.
Link Building | | jmc5090 -
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 -
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 -
Any value in link building to local pages on my site?
If I'm trying to rank for the term 'wedding band' with my url: http://www.musicliveuk.com/home/wedding-bands will linking to local pages such as: http://www.musicliveuk.com/live-acts/hire-wedding-bands/wedding-bands-london help the main page to rank? I added the 'local' pages to try and pick up any traffic from long tail search queries but my main focus is on getting the main page to rank as the traffic from long tail queries is so small. So is it worth me spending time building links to these local pages in order to try and help the main page rank?
Link Building | | SamCUK0