xelax Posted September 16, 2011 Share Posted September 16, 2011 Hi, I've a website with seo friendly urls, like www.domain.com/my/page/here Also I have installed a SSL certificate on the main domain www.* The subdomains don't have one. Now I want only for the www.domain.com that all connections are through the https. I've tried some codes, but it rewrites to the php file (https://www.domain.com/index.php), but it has to rewrite to https://www.domain.com/my/page/here How can I rewrite it to https? many thanks, Quote Link to comment https://forums.phpfreaks.com/topic/247257-htaccess-https-rewrite-url/ Share on other sites More sharing options...
cags Posted September 16, 2011 Share Posted September 16, 2011 What did you try? Quote Link to comment https://forums.phpfreaks.com/topic/247257-htaccess-https-rewrite-url/#findComment-1269855 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.