我需要重定向/ /?开始= 10 https://www.example.com/new-path/重定向URL与查询字符串的htaccess
路径如何能在我的.htaccess需要每个URL做到这一点?
我曾尝试:
redirectMatch 301 ^/path/?start=10 https://www.example.com/new-path/
RewriteRule ^/path/?start=10$ https://www.example.com/new-path/
Redirect 301 /path/?start=10 https://www.example.com/new-path/
但这些工作。
我需要它重定向到https在同一时间。 –
使用mod_rewrite,答案更新 –