2012-11-19 64 views

回答

1

尝试:

RewriteEngine On 
RewriteCond %{SERVER_PORT} !^443$ 
RewriteRule ^(/index.php?route=information/contact) https://mywebsite.com$1 [L,R=301] 

(OP询问如何使用“mod_rewrite的”做)

1

只是一个简单的 “这对于” 重定向:

Redirect 301 http://mywebsite.com/index.php?route=information/contact https://mywebsite.com/index.php?route=information/contact