Redirect http page to https page?

Hi there,

I am trying to redirect a page that is using http to a https version.

I have tried this in my htaccess file, but it’s not redirecting.

Redirect http://www.website.co.uk/listing/creative-competition-win-anisha-accidental-detective-books-and-a-chemistry-set/ https://www.website.co.uk/listing/creative-competition-win-anisha-accidental-detective-books-and-a-chemistry-set/

Can anyone tell me what I have wrong?

Thanks!

Re directions are not done on the htaccess file, they are done on the cpanel, you have to install certificates for that specified URL

on cpanel, scroll to security then SSL/TLS,

Are you sure you only want to redirect one page? Surely you want to redirect all pages to https?

Your problem seems familiar. Maybe check out this post
https://www.sitepoint.com/community/t/forcing-https-and-www/356373
and this one
https://www.sitepoint.com/community/t/i-am-facing-website-redirect-issue-or-canonical-issue/357680

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.