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/)" />
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 on desktop browser: page 2 /mobile browser: page 0
Using my two most pertinent keywords in Chome my site shows up page two. Using the same keywords on my iPhone does not show my site at all (I clicked on to page 15). I have a mobile ranking of 84 on Google PageSpeed Insights. Could be a bit higher but not enough to totally ignore my site. What am I missing?
On-Page Optimization | | artsp0 -
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 -
Title Tags for Index Pages
What tactics do you use to change the title tags of your index page so they're not all the same? For example, if you have an index page that has 100 pages, each with the same title, what tactics do you use to give each page a unique title and how important is it?
On-Page Optimization | | felt0 -
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 -
Changing the Home Page Title
The following question is for an eCommerce site: We have a home page title that has been the same for a few years. I would like to keep the keywords that already exist, but move them into different positions based on seasonality. Format will be (company name) | (keywords). Current format (company name) - (keywords). Rest of the page titles onsite are formatted (keyword)/(product name) | (company name) I think having the same keywords, but in a different order wouldn't hurt us in the SERPs. What are your thoughts?
On-Page Optimization | | kennyrowe0 -
Footer link to home page?
Quick question - is it a best practice to add a footer link on each page of a website that points back to your home page, with the anchor text being your official brand name?
On-Page Optimization | | Bandicoot0 -
Should one page with markers or six separate pages?
Hi - I'm working on a site that was set up with 6 bios on one page, with markers jumping to each person's name. I was thinking about separating those into 6 different pages, but not sure if that's the right thing to do. Advice about keeping the bios on one page vs splitting them up? (Am I more likely to rank for those peoples' names if I have a unique page, or is the one page url with each different marker in it, just as good?) Ranking well for those names isn't a huge goal of the site, but it would be nice to make the choice that would help with that rank. Thanks for your input Emma
On-Page Optimization | | emmas0 -
Nofollowed internal links from the home page
Hi, I'm conducting an on-page review for someone and have noticed something I've not seen before. Some of the major internal links from the home page are marked as no follow. For example: <a <span="">href</a><a <span="">="</a>/customer-services" rel="nofollow">Customer Services This is on the top navigation bar and the content in this and all other sections are marked as no-follow but they should all be crawled. Is this an error or am I missing something? Any ideas guys? Thanks Bush
On-Page Optimization | | Bush_JSM1