Witam
mam taki kod w htaccess
Options +FollowSymLinks
# Turn on the RewriteEngine
RewriteEngine On
# Rules
RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ main_site.php?var1=$1&var2=$2&var3=$3 [L]
Url wyglada tak
http://thx.com.pl/kalkulator/a/b/c/
Chciałem zmienić żeby przekierowywało na https, zrobiłem więc tak
Options +FollowSymLinks
# Turn on the RewriteEngine
RewriteEngine On
# Rules
RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ https://%{SERVER_NAME}/kalkulator/main_site.php?var1=$1&var2=$2&var3=$3 [L]
I w tym momencie adres wygląda tak
https://thx.com.pl/kalkulator/main_site.php?var1=a&var2=b&var3=c
Niestety jakoś wtedy strona przestaje mi działać poprawnie