RewriteEngine On
RewriteCond %{QUERY STRING}.
RewriteRule [^.]*$ /$1? [L,NE,R=301]
If incoming requests match…
Wildcard pattern
Only apply the rule to requests matching the wildcard pattern
Custom filter expression
Only apply the rule to requests matching the custom filter expression
All incoming requests
Apply the rule to all requests
Request URLhttps://*.kqqq.eu.org/*?i=*
By using the asterisk () character to create a pattern that can match many requests e.g. https://.example.com/files/*
Then…
Redirect to target URL. This can be static or dynamic using a wildcard replacement ${1}, ${2}, etc.
Target URL
https://${1}.kqqq.eu.org/${2}
e.g. https://example.com/${1}/${2}
Status code
301
推荐本站淘宝优惠价购买喜欢的宝贝:
本文链接:https://zblog.hqyman.cn/post/10927.html 非本站原创文章欢迎转载,原创文章需保留本站地址!
休息一下~~