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
-
Keyword ranking for different page than the page optimized
I have optimized "equipment trailer for rent" on this page: http://www.bigtrailerrentals.com/flatbed-trailer-rentals/equipment-deckover. I'm wondering if anyone can tell me why Google has chosen to rank the keyword phrase for this page: http://www.bigtrailerrentals.com/flatbed-trailer-rentals/equipment-24 This is just one example. It has happened on several of my pages / keywords.
On-Page Optimization | | BigTrailerRentals0 -
Static or Dynamic Home Page? Please Help!
Hi again 🙂 I ask for ur input again my friends I finally decided to go for the shorter .COM domain, and I put my domain online. Since it will be an online games site, every post will be in fact a new game. And of course, every game, will be in fact a post. I put my home page as "latest posts" this way, all my posts are shown in home page, and posts being for me games, all my games appear on my home page. So my home page always has the latest games and is always fresh. The theme I use has the option to ad some "static content" at the end of the posts, on home page, for SEO. I my home page I have also about 300 words of "article" content, that never changes, and is for seo, since my post content, is in fact java script, and other html codes ( flash games). So my home pages is that article plus excerpts of latest post. But the problem is, that I cannot control the seo, on page this way, and I cannot control my keywords very well, or the density of them, since the home page isnt a page. Now the question is, to let my Home page as it is, or change it and set it up as a page. I can put games on pages to, that is not a big problem. What is best, for the future of the site, google ranking, and seo, in ur opinion. I ad that I recived "A" Grade on moz for Page Seo Grade! Thank You!
On-Page Optimization | | Catinas970 -
Title Tag
Is there any value in adding semantically similar words in the title tag? For instance, I have an alcohol rehab website www.alcohol-rehab.ltd.uk, I offer local search pages too. Would the title tag "Alcohol Rehab Bedfordshire | Alcoholic Rehabilitation Clinics Beds" Be more valuable than "Alcohol Rehab Clinics Bedfordshire | www.alcohol-rehab.ltd.uk" And is is worth while having the url in each title tag? Also is it worth while (seo wise) writing a description tag for each page, other than for a call to action that is?
On-Page Optimization | | Tiedoctor0 -
Wordpress SEO. How to add static content above home page posts.
I think I many have some duplicate content issues as have been adding unque content above posts in categories using the all category SEO. How can I add static content to the posts on the home page though? Any help appreciated!
On-Page Optimization | | SamCUK0 -
Which pages should use rel="canonical" links?
I have many pages showing up as multiple content. Most of the them belong to product pages for my store, login pages that show up everywhere on the site, etc. I know that I need to use the rel=canonical link in the header but after searching the forum I'm still unsure of what pages need it. Is it the pages that I don't want searched/crawled by Google or the other way around? Thanks! Crystal
On-Page Optimization | | COfashionista0 -
Page Analyzer & Page 1
I follow the recommended things from the Page Analyzer or Grader, and I am like position #40, so how do I get to page #1 as a minimum.
On-Page Optimization | | sansonj0 -
3 keywords optomize for home page. Should I create page with thoses keywords or leave it like this?
My online store home page, Furnace Filters Canada has 3 keywords with good ranking in google.ca keywords: ''furnace filters canada'' rank #1 position in google.ca keywords: ''furnace filters'' and ''furnace filter'' are on 5 or 6th position of page 1 in google.ca Those keywords are bringing most of the traffic to our site. To achieve this ranking, I had to use the On-Page Keyword Optimization, tool from seoMoz Questions: It is possible for me to create a page with the URL: https://www.furnacefilterscanada.com/Furnace-Filters or https://www.furnacefilterscanada.com/Furnace-Filter Can this improve my ranking with keywords like, ''furnace filters'' and ''furnace filter''? Is this a waist of time? If I decide to create a new page for optimization with, do I have to create one for singular and another one for plural? Creating a new page also mean removing, '' Furnace Filter'' in the home page title, until the new pages are index, I'm afraid to loss that 5th position in Google. Should I leave the home page title like it is now, '' Furnace Filter - Furnace Filters Canada - Online Shopping Store NOTE: we only do business in Canada, that is why Google.ca is more important to us Thank you, Jean Nichols
On-Page Optimization | | BigBlaze2050 -
Optimally, how many times should the key word or phrase you are targeting for a particular page be mentioned or appear on that page?
Our marketing team is debating how many times the key phrase on each of our web store's product pages should include the word/phrase we are trying to be competitive with. Can you advise?
On-Page Optimization | | Glynlyon0