Hyphen Posted July 16, 2008 Share Posted July 16, 2008 I recently purchased an SSL certificate for a website, which now requires that I redirect the base http pages to the new https address. I need all pages in the format of "www.website.com" to be redirected to "https://www.website.com", though I need to exclude a specific directory, for the sake of this example, "test." So... www.website.com redirects to: https://www.website.com www.website.com/test redirects to: http://www.website.com/test https://www.website.com redirects to: http://www.website.com/test I am not so experienced with .htaccess, or Apache as a whole. Could someone please help me? Quote Link to comment https://forums.phpfreaks.com/topic/114959-htaccess-redirection/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.