HTTPS in Rel Canonical
-
Hi,
Should I, or do I need to, use HTTPS (note the "S") in my canonical tags?
Thanks
Andrew
-
Thanks Alan all done so far so good thanks for your help
-
Yeah, definitely agree - the how/why of using https in general is a much broader and more difficult question.
You said the first link was http (not secure), but it looks like it redirects to a secure page? I'm not seeing any crawl issues, although I wonder if the combination of a footer link and the page looking like a lead-gen page is causing Google to ignore it. Honestly, though, it feels more like a technical issue. I'm not seeing any red flags, though.
-
in iis cp find the folder secure, slect ssl settings from the mail window, and tick "require https", they will now be forced to use https for that folder.
Next if you haven't already, using web platform installer, install url rewrite in IIS, best grab SEO toolkit while you are there. Restart IIS cp after install
Select the site then go to url rewrite,
click add rule
Select blank rule
fill in as per screen shots here
http://screencast.com/t/6qUxduZ7UxWz
http://screencast.com/t/cvivbdFsm
If any problems get back to me. I did this without testing.
If you installed seo toolkit also, you will see there are some ready built rules at bottom, see tutorials here if needed.http://thatsit.com.au/seo/tutorials
Note with the rule remove append trailing slash, I always select remove as when people type out your url they never put a slash on the end.
When your done select the site again and have a play with the SEO toolkit, do a scan on your site.
let me know how you went
-
-
-
Hi Alan,
Thanks, we are using IIS, could you please explain how to do this further please. Do you think this maybe the cause of google not seeing and indexing HTTPS page?
Thanks
Andrew
-
In Microsoft IIS server you can require uses use https on a folder basis, you seem to want to force to not use https, this can be done by writing a urlrewrite rule.
If your site does not use https at all, then just remove the binging for SSL. If you have some https pages and some without then you need to do the above.
If you are using a lynix type server then you will have to look it up, if you are using
IIS I can show you how to do this. -
Hi
Thank you both for your responses. Alan your point is very interesting. The main reason for asking the question is because we are desperately trying to find a solution to why our HTTPS page is not being indexed by google 6 weeks after going live. There are 2 other SEOMoz posts by us that have not been able to answer this "Mystery"
www.seomoz.org/q/why-isn-t-google-indexing-our-site
www.seomoz.org/q/why-is-our-page-will-not-being-found-by-google
The HTTPS page in question HTTPS://www.invoicestudio.com/Secure/invoiceTemplate is in fact references via a link at the bottom of HTTP://www.invoicestudio.com (note no "S").
Alan could you please explain your answer further as I do not fully understand what you are saying but it sounds like the HTTP link to HTTPS maybe causing the issue and would like to explore further to solve this long standing issue that is very important to us.
Thanks
Andrew.
-
Dr Pete as usual is correct here, but I would ask a further question, is your page accessed from both http and https? if so I would make the page "https required" so it is not, and use a 301 if you all ready have links to http.
I work on Microsoft IIS servers this is very easy to do, not sure how you do it on lynix
-
If the canonical version of your URLs is secure (HTTPS), then yes - you should use absolute paths with "https://" in the them for your canonical tags.
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
-
Is this the correct way of using rel canonical, next and prev for paginated content?
Hello Moz fellows, a while ago (3-4 years ago) we setup our e-commerce website category pages to apply what Google suggested to correctly handle pagination. We added rel "canonicals", rel "next" and "prev" as follows: On page 1: On page 2: On page 3: And so on, until the last page is reached: Do you think everything we have been doing is correct? I have doubts on the way we have handled the canonical tag, so, any help to confirm that is very appreciated! Thank you in advance to everyone.
Intermediate & Advanced SEO | | fablau0 -
How do I get rel='canonical' to eliminate the trailing slash on my home page??
I have been searching high and low. Please help if you can, and thank you if you spend the time reading this. I think this issue may be affecting most pages. SUMMARY: I want to eliminate the trailing slash that is appended to my website. SPECIFIC ISSUE: I want www.threewaystoharems.com to showing up to users and search engines without the trailing slash but try as I might it shows up like www.threewaystoharems.com/ which is the canonical link. WHY? and I'm concerned my back-links to the link without the trailing slash will not be recognized but most people are going to backlink me without a trailing slash. I don't want to loose linkjuice from the people and the search engines not being in consensus about what my page address is. THINGS I"VE TRIED: (1) I've gone in my wordpress settings under permalinks and tried to specify no trailing slash. I can do this here but not for the home page. (2) I've tried using the SEO by yoast to set the canonical page. This would work if I had a static front page, but my front page is of blog posts and so there is no advanced page settings to set the canonical tag. (3) I'd like to just find the source code of the home page, but because it is CSS, I don't know where to find the reference. I have gone into the css files of my wordpress theme looking in header and index and everywhere else looking for a specification of what the canonical page is. I am not able to find it. I'm thinking it is actually specified in the .htaccess file. (4) Went into cpanel file manager looking for files that contain Canonical. I only found a file called canonical.php . the only thing that seemed like it was worth changing was changing line 139 from $redirect_url = home_url('/'); to $redirect_url = home_url(''); nothing happened. I'm thinking it is actually specified in the .htaccess file. (5) I have gone through the .htaccess file and put thes 4 lines at the top (didn't redirect or create the proper canonical link) and then at the bottom of the file (also didn't redirect or create the proper canonical link) : RewriteEngine on
Intermediate & Advanced SEO | | Dillman
RewriteCond %{HTTP_HOST} ^([a-z.]+)?threewaystoharems.com$ [NC]
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule .? http://www.%1threewaystoharems.com%{REQUEST_URI} [R=301,L] Please help friends.0 -
Using Canonical on home page
Our home page has the canonical tag pointing to itself (something from wordpress i understand). Is there any positive or negative affect that anyone is aware of from having pages canonical'ed to themselves?
Intermediate & Advanced SEO | | halloranc0 -
Rel=canonical an iframed version of the same website?
My issue is that we have two websites with the same content. For the sake of an example lets say they are: jackson.com jacksonboats.com When you go to jacksonboats.com, the website is an iframed version of jackson.com. However all of the companies email addresses are example@jacksonboats.com so a 301 is not possible. What would be the best way to forward over the link juice from jacksonboats.com to jackson.com? I'm thinking a rel=canonical tag, but I wanted to ask first. Thanks,
Intermediate & Advanced SEO | | BenGMKT0 -
Reinforcing Rel Canonical? (Fixing Duplicate Content)
Hi Mozzers, We're having trouble with duplicate content between two sites, so we're looking to add some oomph to the rel canonical link elements we put on one of our sites pointing towards the other to help speed up the process and give Google a bigger hint. Would adding a hyperlink on the "copying" website pointing towards the "original" website speed this process up? Would we get in trouble if added about 80,000 links (1 on each product page) with a link to the matching product on the other site? For example, we could use text like "Buy XY product on Other Brand Name and receive 10% off!"
Intermediate & Advanced SEO | | Travis-W0 -
Does rel=canonical fix duplicate page titles?
I implemented rel=canonical on our pages which helped a lot, but my latest Moz crawl is still showing lots of duplicate page titles (2,000+). There are other ways to get to this page (depending on what feature you clicked, it will have a different URL) but will have the same page title. Does having rel=canonical in place fix the duplicate page title problem, or do I need to change something else? I was under the impression that the canonical tag would address this by telling the crawler which URL was the URL and the crawler would only use that one for the page title.
Intermediate & Advanced SEO | | askotzko0 -
Rel canonical and duplicate subdomains
Hi, I'm working with a site that has multiple sub domains of entirely duplicate content. So, the production level site that visitors see is (for made-up illustrative example): 123abc456.edu Then, there are sub domains which are used by different developers to work on their own changes to the production site, before those changes are pushed to production: Larry.123abc456.edu Moe.123abc456.edu Curly.123abc456.edu Google ends up indexing these duplicate sub domains, which is of course not good. If we add a canonical tag to the head section of the production page (and therefor all of the duplicate sub domains) will that cause some kind of problem... having a canonical tag on a page pointing to itself? Is it okay to have a canonical tag on a page pointing to that same page? To complete the example... In this example, where our production page is 123abc456.edu, our canonical tag on all pages (this page and therefor the duplicate subdomains) would be: Is that going to be okay and fix this without causing some new problem of a canonical tag pointing to the page it's on? Thanks!
Intermediate & Advanced SEO | | 945010 -
Any penalty for having rel=canonical tags on every page?
For some reason every webpage of our website (www.nathosp.com) has a rel=canonical tag. I'm not sure why the previous SEO manager did this, but we don't have any duplicate content that would require a canonical tag. Should I remove these tags? And if so, what's the advantage - or disadvantage of leaving them in place? Thank you in advance for your help. -Josh Fulfer
Intermediate & Advanced SEO | | mhans1