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
-
Should blog tags be location specific?
I understand the concept of organizing blogs with categories, but how specific should the tags on blog posts be? i.e. "cosmetic dentist" vs. "cosmetic dentist san francisco" I'm specifically using Squarespace if that helps. Thanks!
On-Page Optimization | | ReaderSam0 -
Link in H1 tag?
Hi guys, We're working through a redesign of our product page and are considering the following: http://screencast.com/t/NBSsDGA9vgS3 Currently the product name (including the brand name - Arc'teryx) in this case is included in the H1 and none of the title is linked. You can see this here: http://www.evo.com/synthetic-jackets/arcteryx-atom-lt-hoodie-womens.aspx The firm we're working with is proposing keeping the entire title in the H1 but linking the brand name to the entire brand assortment. My concern is that the brand name is a critical part of the product title and should be text (not a link). Any suggestions? Thanks!
On-Page Optimization | | evoNick
Will0 -
Noindex or canonical tag for products which have no unique product description?
I have several ecommerce sites in the same niche and there are a high number of products shared among these sites. I understand that having unique product descriptions for each site may be ideal, but for several reasons this is not an option for the short term. Sales-wise it would be useful to continue products on several sites at the same time. Also it would not be a problem if only the product pages of our main store would show up in the google index. I thought about adding noindex xrobots tag to avoid that product pages are indexed in more than one store to avoid issues with duplicated or thin content or would you implement canonical tag here? What would you suggest?
On-Page Optimization | | lcourse0 -
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 -
To use or not to use: Keywords with locations
Hello there. I work for a marketing agency that manages SEO campaigns for a variety of small businesses in South Florida. Let's say we have a client that sells cheap shoes at their store location. Obviously, we want to show up in Google rankings for search terms like "cheap shoes south florida" or "cheap shoes miami." Now, my question is, when optimizing a website's content for various keywords, is it really necessary to include keywords with the location (which are often awkward for both reading and writing purposes)? Ideally, I'd prefer to have text that always reads as naturally as possible. Text like this is just an eyesore: Welcome to ExampleSite.com, home of the best cheap shoes Florida. We offer all kinds of cheap shoes Boca Raton. Your whole family doesn't have enough fingers and toes to count how many cheap shoes West Palm Beach we have in stock! Contact us to ask about our cheap shoes Miami discounts today! Olé!" What say you? Is there a way to work around ugly SEO text like this while still effectively ranking for GEO terms? Thanks!
On-Page Optimization | | BBEXNinja0 -
Site wide 301 or canonical links.
Hi guys, I'd like add code to my header file to specify www. as opposed to just http:// for the canonical links across my entire site. How can I do this? I'd like it to be site wide code that I can just add to my header.php file which is included across the site.
On-Page Optimization | | absoauto0 -
To enter keyword meta tags or to not enter keyword meta tags?
I've been doing SEO for awhile, but new to SEOMoz. I'm surprised that SEOMoz does not recommend keyword meta tags. I didn't enter them for the longest time because I know Google doesn't care about them. However, I did read that other search engines DO use them. And therefore that is why you should have them. I teach my customers about SEO, and I know it would be much easier for them not to enter or worry about the keyword meta tags. However, I would love to hear opinions here. And to Bing/Yahoo put any weight into them or is it only really small search engines? Thanks! Hilary
On-Page Optimization | | endlessrange0 -
Title Tag Not Relaying In Google Search
Our title tag is "<title>HCG</span> Diet - HCG Drops - Example Weight Loss - HCG Diet Weight Loss</title>" But in google it is only displaying "HCG diet" Reasons? What can I do to fix this? I'm trying to get this fixed asap, as it is our homepage that is being effected by it.
On-Page Optimization | | HCGDiet0