weee Posted February 27, 2011 Share Posted February 27, 2011 Is it possible to use "seo urls" under https? It seems like all of my links that use mod_rewrite under SSL no longer work... Thanks! weee Quote Link to comment Share on other sites More sharing options...
requinix Posted February 27, 2011 Share Posted February 27, 2011 Sure you can. Post your .htaccess and clarify what "no longer works" means. Quote Link to comment Share on other sites More sharing options...
weee Posted February 27, 2011 Author Share Posted February 27, 2011 RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteRule ^contact/?$ index.php?act=contact [L] I have a few of these where they map to some static pages. So this would be the equivalent http://www.mywebsite.com/contact to http://www.mywebsite.com/index.php?action=contact. Thanks! weee Quote Link to comment Share on other sites More sharing options...
weee Posted March 7, 2011 Author Share Posted March 7, 2011 May I bump? Quote Link to comment Share on other sites More sharing options...
weee Posted April 7, 2011 Author Share Posted April 7, 2011 Please bump? Does anyone know if this is even possible? Thanks! weee Quote Link to comment Share on other sites More sharing options...
dcro2 Posted April 9, 2011 Share Posted April 9, 2011 I'm not really very experienced in this stuff, but I think this should work: RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] RewriteRule ^contact/?$ index.php?act=contact [L] Quote Link to comment 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.