Jump to content

Friendly urls https


weee

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/228980-friendly-urls-https/#findComment-1180433
Share on other sites

  • 2 weeks later...
  • 5 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.