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
-
Rel canonical tag on a single page site?
I have a wordpress theme site which essentially is all in 1 page. Do I need to use rel-canonical tag? It would just loop?
On-Page Optimization | | graftene0 -
Should I use nofollow when interlinking large, networked sites?
My company runs a network of very large networked sites, each with thousands of content pages. In our main navigation we are currently not nofollowing links between these networked sites. The links appear on every single page in the top navigation, and there are thousands of pages on each site. I am worried this will look to Google like we have suspiciously received thousands of links from one domain - one link from every page on the domain. Should we be nofollowing these navigation links between the different sites in our network?
On-Page Optimization | | Natasha90040 -
Canonical to the page itself?
Hello, I'd like to know what happens when you use canonical to the same page itself, like: Page "example.com" rel canonical="example.com" Does that impact in something? Bad or good? See ya!
On-Page Optimization | | seomasterbrasil1 -
How to best use our blog posts for SEO?
My company recently created a WordPress hosted blog. It is hosted completely separate from our company site. The primary domain for the blog is blog.mydomainname.com, but we immediately created a folder within our company website for www.mydomainname.com/blog that has a reverse proxy to the blog itself. I'm curious though if we should consider taking the content from the blog posts and re-creating that within our company website as well? The blog posts are very good SEO rich content, and we always struggle to find new content to put on our company website as it is already. Would like to get some folks thoughts on this. Thanks!
On-Page Optimization | | KHCreative0 -
Title tag question
Hi, If I wanted to rank for 'cheap football boots' and 'football boots' which tag would be the best option: 1. Cheap Football Boots (notice both keywords im targeting are included) 2. Cheap Football Boots, Football Boots (both keywords separate) and the keywords sit on an EMD (cheapfootballboots.co.uk) Cheers
On-Page Optimization | | activitysuper0 -
Confused about meta tags.
(Ok, this might be a stupid question.) I am a little confused about the best practice for the Meta Tag. I know they don't have a real effect on ranking. But I am getting "mixed signals" as to their general use. I've pasted the 2 examples of below that are confusing me. From my Campaign's Crawl Diagnostics: (I have missing Meta Tags) "Meta description tags, while not important to search engine rankings, are extremely important in gaining user click-through from search engine result pages (SERPs). These short paragraphs are the webmaster's opportunity to advertise content to searchers and let them know exactly what the given page has with regard to what they're looking for" From The Keyword Optimization Tool: (Avoid Using Meta Keyword Tool) "Search engines have, for years, ignored the meta keywords tag as a ranking signal. Although it technically does not harm rankings, it can be used by competitors as a method to extract your targeted terms and thus, we recommend against its use. " I would love to hear opinions on this topic. I am trying to decide wether or not to use unique meta tags on every blog post.
On-Page Optimization | | NerdsOnCall0 -
Should I let Google index tags?
Should I let Google index tags? Positive? Negative Right now Google index every page, including tags... looks like I am risking to get duplicate content errors? If thats true should I just block /tag in robots.txt Also is it better to have as many pages indexed by google or it's should be as lees as possible and specific to the content as much as possible. Cheers
On-Page Optimization | | DiamondJewelryEmpire0 -
Cross-domain canonical
HI, We've got a German e-commerce site on an .at domain and would like to have a copy on a .de domain as we expect higher conversions for German users there. The idea now would be to make use of the cross-domain canonical tag, create a "duplicate" on the .de domain and add a canonical tag on all sites and refer to the original content on the .at domain. That would mean the .de won't rank, but German users could see the .de domain, Austrian users the .at domain in the address bar and everybody could feel "at home" ... that's the theory. What do you guys think? Valid strategy?
On-Page Optimization | | gmellak0