My php website just got SSL installed. I’ve got two related questions. I only want https to kick in after login, not on the landing page. The landing page can stay unprotected.
1. What is the proper code in the .htaccess file for the redirect to https?2. I believe I need to change all my links from absolute paths, like <a href=”
What is the proper way to do that, using the example? Is it <a href=”/dir1/file.php> or <a href=”dir1/file.php> or <a href=”../../file.php>? Please explain why so I can learn something.
Kind Regards,
Leafgreen 😮
P.S. Wasn’t sure exactly which category to post this in…