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
-
Can I remove certain parameters from the canonical URL?
For example, https://www.jamestowndistributors.com/product/epoxy-and-adhesives?page=2&resultsPerPage=16 is the paginated URL of the category https://www.jamestowndistributors.com/product/epoxy-and-adhesives/. Can I remove the &resultsPerPage= variation from the canonical without it causing an issue? Even though the actual page URL has that parameter? I was thinking of using this: instead of: What is the best practice?
Intermediate & Advanced SEO | | laurengdicenso0 -
Canonical Tag Question Regarding Two State Pages
Hi Moz Fam! Question... we have two pages for each state. Both pages are used in our PPC campaigns. One of the two state pages is fully optimized for organic search. The page that's optimized for organic has 1,500-2,000 words, the other one has thin content. All the content is unique, nothing duplicate. We call one set of state pages that I optimized my SEO state pages, then the other ones are our PPC state pages. Should I be setting a canonical tag to one of these pages to let Google know which one is the "master" page? (My SEO state page is the master) I've never used them, so I'm not sure what the right answer is for this. Thanks!
Intermediate & Advanced SEO | | LindsayE0 -
Canonical URL's For Two Domains
We have two websites, one we use for Google PPC (website 1) and one (website 2) we use for everything else. The reason is we are in an industry that Google Adwords doesn't like, so we built a whole other website that removes the product descriptions as Google Adwords doesn't approve of many of them (nutrition). Right now we have that Google Adwords approved website (website 1) no-index/no-follow because we didn't want to run into potential duplicate content issues in free search, but the issue is we can't submit it to Google Shopping...as they require it to be indexable. Do you think removing the no-index/no-follow from that website 1 and adding canonical URL's pointing to website 2 would resolve this issue (being able to submit it to Google Shopping) and not cause any problems with duplicate content? I was thinking of adding the canonical tag to all pages of website 1 and point it to website 2. Does that make sense? Do you think that would work?
Intermediate & Advanced SEO | | vetofunk0 -
Http to https what should one look out for
Hi, we are moving our site from http to https and would like to know what should one look out for. What are the things that can go wrong, and what is the best way to go about it. Regards Tai
Intermediate & Advanced SEO | | Taiger0 -
Rel=canonical and internal links
Hi Mozzers, I was musing about rel=canonical this morning and it occurred to me that I didnt have a good answer to the following question: How does applying a rel=canonical on page A referencing page B as the canonical version affect the treatment of the links on page A? I am thinking of whether those links would get counted twice, or in the case of ver-near-duplicates which may have an extra sentence which includes an extra link, whther that extra link would count towards the internal link graph or not. I suspect that google would basically ignore all the content on page A and only look to page B taking into account only page Bs links. Any thoughts? Thanks!
Intermediate & Advanced SEO | | unirmk0 -
Base href + relative link href for canonical link
I have a site that in the head section we specify a base href being the domain with a trailing slash and a canonical link href being the relative link to the domain. <base <="" span="">href="http://www.domain.com/" /> href="link-to-page.html" rel="canonical" /> I know that Google recommends using an absolute path as a canonical link but is specifying a base href with a relative canonical link the same thing or is it still seen as duplicate content?
Intermediate & Advanced SEO | | Nobody16116990439410 -
Pagination Tag and Canonical
Once and for all - I would really like to get a few opinions regarding what is the best method working for you. For most of the all timers in here there's no need to introduce the pagination tag. The big question for me is regarding the canonical tag in those case. There are 2 options, as far as I consider: Options 1 will be implementing canonical tag directing to the main category page: For instance: example.com/shoes example.com/shoes?page=2 example.com/shoes?page=3 In this case all the three URL's will direct to the main category which is example.com/shoes Option 2 - using self-referral canonical for every page. In this case - example.com/shoes?page=2 will direct its canonical tag to example.com/shoes?page=2 and so on. What's the logic behind this? To make sure there are no floating pages onsite. If I'll use canonical that directs to the main category (option 1) then these pages won't get indexed and techniclly there won't be any indexed links to these pages. Your opinion?
Intermediate & Advanced SEO | | seoperad0 -
Rel="external" What affect if any does this have on SEO
When building Anchor text links what affect if any does rel="external" have on inlinks placed to your site. Thanks, Kjay
Intermediate & Advanced SEO | | SEOKeith0