Canonical tag for home page
-
This question was asked before but I didn't see a clear answer to it. If I've got a site that has as it's home page: http://www.mysite.com/, and there are many references within the site back to the home page that point to /index.php, should I include a canonical tag in the index.php page like this:
to avoid a duplicate content issue, and to have all juice from both links combined into one?
-
Ryan is absolutely right.
also adjust your .htaccess to link to either index.html of mysite.com/
RewriteRule ^.*/index.html http://www.mysite.com [R=301,L]
Or
RewriteRule ^.*/ http://www.mysite.com/index.html [R=301,L]
Hope this helps
-
Yes
You should also adjust the links to reflect your preferred version of the URL.
I would always canonicalize the home page. You can also look at SEOmoz home page where they do as well.
<link rel="canonical" href="[http://www.seomoz.org/](view-source:http://www.seomoz.org/)" />
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
-
Alt tags
Do we use our main keyword only for alt tags for all images on the page?
On-Page Optimization | | Timberwink0 -
Duplicate pages
Hi I have recently signed up to Moz Pro and the first crawl report on my wordpress site has brought up some duplicate content issues. I don't know what to do with this data! The original page : http://www.dwliverpoolphotography.co.uk/blog/ and the duplicate content page : http://www.dwliverpoolphotography.co.uk/author/david/ If anyone can point me to a resource or explain what I need to do thanks! David.
On-Page Optimization | | WallerD0 -
Does Google penalize a page with the image tag with alt and without src?
Hi, I am curious whether Google penalizes a page with the image tag with a value in the "alt" attribute and without one in the "src" attribute? Would this count as stuffing? Sometimes you cannot put an image but you would like to get SEO benefit by having a keyword in an image?
On-Page Optimization | | Plivo0 -
Should I add canonical tag on these pages?
Hi folks I have some pages that used to rank pretty well..but I believe it is affected due to the content similarities. Here is one the sub category pages http://www.ilovebodykits.com/category/98/2/Full-Body-Kits_Duraflex.html the main category page http://www.ilovebodykits.com/category/98/Exterior_Body-Styling_Full-Body-Kits.html These 2 links have very similar contents. The content are dynamic generated by template and I don't think I am able to change content for each individual pages since there are over 2000-3000 of them or more. Should I use canonical tag on the Duraflex.html page to give the main category page all the link juices and credits? There are about 20 other pages like this under this main category. Is it right to canonical all of them? Please let me know if anyone has any suggestion.. thanks
On-Page Optimization | | ilovebodykits0 -
Different Title Tag and Page Headline
My editorial team won't budge with their headlines which are excruciatingly vague ... But I have managed to convince them to let me optimize the title tags and the URLs. Is this sub-optimal or are there some benefits to having a title tag that varies from the page headline or what our dev team calls the "reader friendly" title? For example... Their headline: Increase Your Retirement by 20% with This Safe, Simple Strategy My title tag: Compound Returns: How to Increase Your Retirement 20% Thanks for the help, E
On-Page Optimization | | essdee0 -
Do product pages need unique content or does having duplcate content hurt on those pages?
We are adding product rapidly to our website but this requires allowing duplicate to exist on our product pages of furniture-online.com. From an SEO standpoint do we need to make this content unique for each product. Since we aren't link building to specific product pages and we don't anticipate product pages being found in a search result, are we ok leaving the duplicate content in place and spending our dollars elsewhere?
On-Page Optimization | | gallreddy0 -
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page?
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page or should I make separate pages for each keyword even when they are similar? Will Google penalize me for making similar pages? Imagine selling, bargain milk chocolate peanut clusters. Keywords examples could be: Bargain chocolate Bargain milk chocolate Bargain milk chocolate peanut clusters Bargain chocolate peanut clusters Chocolate peanut cluster bargains Milk chocolate peanut cluster bargains Etc. Will one page called http://mycompany/bargainmilkchocolatepeanutclusters.com be OK or should I have one called http://mycompany/bargainmilkchocolate.com and one called http://mycompany/bargainmilkchocolatepeanutclusters.com and one called http://mycompany/chocolatepeanutclusterbargains.com , etc.? Thanks for your advice.
On-Page Optimization | | KSHAYY0 -
3 Different Home Page URL's Being Indexed?
Hello Everyone! I own a dog supplies eCom site on the x-cart platform. I recently upgraded to 4.4 version about 3 weeks ago and am noticing 3 different home page URL's getting indexed and ranked: /
On-Page Optimization | | k9byron
/home.php
/home.php?cat= I dont know why this is happening and I dont claim to be an expert SEO but know this cant be good! I am seeing high rankings on certain terms for all 3 URL's. Has anyone seen this before and can anyone give me any feedback on this and how it may be effecting my sites ranking in the future? Thanks in advance!
Byron-0