Should I leave away the http when using the canonical tag
-
My site redirects http://www.anydomainblabla.com to www.anydomainblabla.com
So I guess I have to do it like this
Is that correct?
Big thanks for your time.
-
When using the canonical ensure you use the full URL. There are multiple protocols that can be addressed at a domain, for example, ftp, so including the http:// would be best practise.
A side note about canonicals, if in the future you are planning on moving to https then ensure you update your canonicals. Depending on how you currently deploy your website; WordPress etc, you could use a simple php script to store a variable of protocol which will change globally if the file is updated.
-
I'm a bit confused. The http part is the protocol. You sometimes don't see it written out in the URL bar when you are on a page, but it is still there. For your canonical, use the whole thing, including the http. You can read more about it here.
-
I see a lot of content theft from my site short-funny.com. And they rank better for my jokes that I wrote. So if somebody copy the whole website Google will know that my site is the right one. Plus the Moz analysis showed that I should use it. I need somehow to stop content scrapers.
-
Hi Michael,
I assume you are using 301 for redirects http://www.anydomainblabla.com to www.anydomainblabla.com, If yes what is the purpose of using rel="canonical". If not please let us know.
Thanks
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
-
Use of subfolders for my casino directory
Been trying to find an answer to this for some time, so I hope someone can lend me a hand.. I've started building out my casino website Nerdybet, which will list regulated gaming vendors within each US state. A part of the idea is to create a high level web directory of legal betting sites. Now, say I want to list all legal casinos within a specific US state. What's the most search engine friendly way to build out the hierarchy? To clarify, this will be the main casino directory page: https://www.nerdybet.com/gambling-sites-directory Based on that, I can now pick either: a) Nerdybet.com/gambling-sites-directory/stateX
On-Page Optimization | | llevy
b)Nerdybet.com/stateX Which method would you say is best? And why so? Thank you.1 -
How To Place A Last Updated Tag
Hi All, I hope this is something you can help me with. My website is running wordpress and I post frequently. However I do update a lot of my posts over time to keep them relevant. I would like to add in the last updated tag into my posts to clearly indicate this to the search engines. Is this best placed manually or does anyone know of a plugin which can take care of this is a smart manner. Thanks In Advance
On-Page Optimization | | pettreats0 -
Using Google structured Data for SEO benefit
Hi there I run www.isacleanse.com.au and I've set up some Structured data using Google Webmaster Tools which says it will be picked up during the next Google update (has been set up over 4 weeks ago), however I dont seem to see any of the structured data for the products/reviews/ratings etc coming through in search results. Question at hand: Is there additional things I need to do in the code of the website or should this be sufficient? (see attached screenshot) szpFUpX
On-Page Optimization | | IsaCleanse1 -
Title Attribute Length + Use
Hi, Is there an optimum character limit for attribute titles like there is for meta titles? On my ecommerce site I am adding about 280 characters product category page headers to succinctly describe what the page is such as in the example below; MENS BRIEFS + TANGAS We stock a range of mens briefs from leading designer brands that offer popular cuts and fabrics such as mens cotton briefs. You will also discover styles that are a little more risqué for those looking for something more daring in sexy mens briefs and tangas. I have added the following [title attribute] to this header text (MENS BRIEFS + TANGAS)so it displays the following title attribute text when you hover over it. My intention behind this is so that it enables me to provide visitors with access (via assistive reading software or hovering their cursor over the header text) to a bit more information, which they my find useful [title attribute text] - Mens briefs and tangas. These are possibly the most common and long established style of mens underwear, yet they still come in a variety of cuts and styles. The common feature amongst all men’s briefs is that they have a full rear panel that partly or entirely covers the bottom. They will have cut away legs, a pouch at the front and are supported with an elasticated waistband. Briefs and tangas can vary in the amount coverage in the side panels around the hips and top of the legs and the rear. The more revealing and skimpier tanga style usually consists of only a pouch at the front that is supported with an elasticated waistband and a minimalist rear, with no side panels that exposes the hips.[title attribute text] Is this too much? Can search engines penalise me for it? Am I using/misusing title attributes? Thanks
On-Page Optimization | | UnderMe0 -
Canonical issue
Hi again, my SEOMOZ software has found some "notices" related to certain pages regarding canonical tag. Here are some examples: El primer campamento de kitesurf en tarifa, somos tks!
On-Page Optimization | | juanmiguelcr
http://www.tarifakitesurfcamp.com/
http://www.tarifakitesurfcamp.com/
1 0
El primer campamento de kitesurf en tarifa, somos tks!
http://www.tarifakitesurfcamp.com/?attachment_id=
http://www.tarifakitesurfcamp.com/
1 0
Aviso Legal y Política de Privacidad
http://www.tarifakitesurfcamp.com/aviso-legal-y-politica-de-privacidad/
http://www.tarifakitesurfcamp.com/aviso-legal-y-politica-de-privacidad/
1 0
campamento de kitesurf tarifa en un complejo natural con tks!
http://www.tarifakitesurfcamp.com/campamento-kitesurf/
http://www.tarifakitesurfcamp.com/campamento-kitesurf/
1 0
campamentos bilingues para niños y jóvenes en tarifa, tsk!
http://www.tarifakitesurfcamp.com/campamentos-bilingues-para-ninos/
http://www.tarifakitesurfcamp.com/campamentos-bilingues-para-ninos/
1 0
Condiciones Generales
http://www.tarifakitesurfcamp.com/condiciones-generales/
http://www.tarifakitesurfcamp.com/condiciones-generales/
1 0
Contacto
http://www.tarifakitesurfcamp.com/contacto/
http://www.tarifakitesurfcamp.com/contacto/
1 0 Can anyone tell me what does mean? I guess it has to do with the impact of some kind of plugin since I haven't done anything. Thanks in advanced.0 -
Duplicate Mega tags
we have a e-commerce site, we have products that are the exact same but different sizes each has a page, we use the same mega tag would it be better to use no mega tag
On-Page Optimization | | DFC0 -
Regarding the META KEYWORDS tag
Two questions regarding the META KEYWORDS tag: Does Google actually penalize you for using the KEYWORD META tag, or does it just ignore it? On a related matter, I've noticed that when I use the On-Page Optimization Tool, it indicates that my header includes the KEYWORD tag, although I've taken great pains to remove keywords from pages that had been optimized by a previous SEO. I'm using Magento - Could it be a legacy issue? Would that make a difference?
On-Page Optimization | | RScime250