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
-
Schema Review Not Showing Up For The Home Page
I have a schema review for an attorney website. The schema shows up in the SERPs for all the inner pages of the sites but never for the homepage. Is there a reason for that?
On-Page Optimization | | Armen-SEO0 -
Home page and category page target same keyword
Hi there, Several of our websites have a common problem - our main target keyword for the homepage is also the name of a product category we have within the website. There are seemingly two solutions to this problem, both of which not ideal: Do not target the keyword with the homepage. However, the homepage has the most authority and is our best shot at getting ranked for the main keyword. Reword and "de-optimise" the category page, so it doesn't target the keyword. This doesn't work well from UX point of view as the category needs to describe what it is and enable visitors to navigate to it. Anybody else gone through a similar conundrum? How did you end up going about it? Thanks Julian
On-Page Optimization | | tprg0 -
Page Speed
Google recommends a page load speed of 1.4 seconds, is it recommended to have that page speed for every page on the site, or just the landing pages. Is there a tool that will check the load speed of every page on a site and report the slow pages? The free online tools only check one page at a time.
On-Page Optimization | | Bryan_Loconto0 -
Should a company worry about how many domains it maps to the same home page?
I seem to be at logger heads with developers regarding domain mapping. The scenario: I have a company with one site on a primary domain name, but all the other domains they own are mapped using a tool provided by their hosting vendor. But. what I see is a keyword loaded domain that shows it has been 'mapped' to the primary domain, but you can type into the browser this keyword loaded domain and it will serve up in your browser that same home page you see on the PRIMARY DOMAIN. So, picture this - you are looking at the home page on wwww.keyworddomain.com and see the same home page as www.primarycompanydomain.com - but if you select anything from the menu at www.keyworddomain.com you will be taken immediately to www.primarycompanydomain.com/page-you-selected I just get a feeling this is not right as I can search Google for www.keyworddomain.com and Google lists the site home page on that domain. But when I click through from the listed result, I am taken to www.primarycompanydomain.com which is ideally where I want to be and I would want Google to focus on this domain, and I have told it to do so within the feature included within Google Webmaster Tools. The developers say there is nothing wrong. There argument - why would a hosting company provide this domain mapping feature if it was not best practice. My argument - but Google is listing that domain URL (www.keyworddomain.com) despite the fact it takes me through to www.primarycompanydomain.com - will Google not think this strange despite me telling it via GWMT that www.primarycompanydomain.com is the one and only domain I am working on. Tell me if I am going mad or not, and who is right and who is wrong. Appreciate all your answers.
On-Page Optimization | | ICTADVIS0 -
How can I reduce Too Many On-Page Links? I am looking for best method through which I can reduce by on page link.
Hello, As I have the Pro Account in SEOMOZ . I have created the campaign for my website and I have seen the warring for on page analysis for Too Many On-Page Links. As per my knowledge in past it's matter that you can put maximum 100 links per page but now is it still matter or harm if pages has Too Many On-Page Links? And if yest then please let me know the best method to reduce my On-Page Links with out doing any major changes in website
On-Page Optimization | | jemindesai0 -
Too many links on home page
SEOmoz crawl states I have 3 pages with too many links. My sites are hosted on Yahoo small business. One page they state is too long is the home page/ind. with 600 links to each page on the web site ( I think). Is this really a problem and how do I fix it? The other two pages are product categories that link to the products under the main product type. What I do not understand is that we have many larger product categories that SEOmoz crawl is not stating too many.
On-Page Optimization | | Wales0 -
Page architecture
We have some good content on our site, particularly relating to UK employment law. One section on unfair dismissal is split into 9 pages - there is a fair amount of legal detail. The question is whether we should combine it all into one "mother of all unfair dismissal" page just to satisfy the Google monster or keep in as it is. Some of the individual pages rank on page 1 already. If we change the architecture are 301 redirects the best way to handle the changing urls? The other more important issue is whether it is easier to read it all on one page or split it. Keeping G happy may not actually keep our users happy. As the content is quite dense we want to ensure we don't overload people. Any thoughts appreciated.
On-Page Optimization | | dexm100 -
301 redirects from several sub-pages to one sub-page
Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? 🙂 You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path 🙂 Thats at least something you can say in norwegian...
On-Page Optimization | | MarieA1