I have tried to find the answer to this using forums, websites, help pages. I have asked my website host for help, my SSL certificate provider for help, still no answer. I have seen this question posed by many other people previously, but know one has received a reply.
Hopefully someone here will know the answer
How do I redirect all of my website pages from www to non-www and (at the same time) redirect one single http page to https?
This works for the entire site, but not the single page that I need.
Can anyone on the forum give me the answer. If they can (and it works), I will post the answer everywhere (i’m not the only person who has asked this question
My signature’s “Article” tutorial has code for precisely what you’ve asked for. Just remember, though, that your secure script should NOT ask for unsecure files so you will need to specify only your served pages (i.e., .php, not .js, not .gif, not .jpg, not .css, etc.) to be redirected.