My client's site has an application form and payment form that need to be served over https.
links to these pages are dynamically generated and I can't see a way of specifying that the links to these two pages are formed with the https prefix. They are currently served as http.
Also, there is an existing .htaccess file (code below)
Q1 How can I add some rewrite rules for these pages...
... so that they redirect to their https versions without messing up the exisitng URL rewriting?
Also if you type https://mydomain.com/Application (ie without the www) then the browser throws a security alert.
Q2 How can I make sure that the 'www' is automatically added first?
If I had time I would read up on this and learn how to do it myself but unfortunately I have a looming deadline so I just need to fix it and ask questions later! Thanks very much in advance for your help.
RewriteRule ^Photo_Gallery-(.*).html$ /index.php?secName=Photo_Gallery&gallery=$1 [L,QSA]
RewriteRule ^(.*).html$ /index.php?secName=$1 [L,QSA]