我喜歡htaccess的重定向包含一些詞語集的主頁URL的重定向URL,如果它包含了一些詞語集
例子:
重定向
www.mywebsite.com/folder/dont-stop-the-fun
www.mywebsite.com/folder/dont-fun-stop-the
www.mywebsite.com/folder/play-the
www.mywebsite.com/folder/dont-fun-give-the
到
www.mywebsite.com/
上面的例子重定向任何包含的url NS的樂趣,玩&給主頁
我發現
RewriteCond %{REQUEST_URI} foobar
RewriteRule .* index.php
但它重定向只有一個字
感謝