0
在ISAPI中重定向URL的正確語法是什麼將一個文件夾中的URL重寫爲主頁?例如... /category/sub-category/file.html301重定向ISAPI中的文件夾頁面重寫
我試過很多東西,比如...
RewriteRule ^category/sub-category/file.html/[NC,R=301,L]
RewriteRule ^category/sub-category/file.html http://www.mysite.com/ [NC,R=301,L]
RewriteRule ^category/sub-category/file.html http\://www.mysite\.com/ [NC,R=301,L]
RewriteRule ^category/sub-category/file\.html/[NC,R=301,L]
RewriteRule ^category/sub-category\/file\.html/[NC,R=301,L]
etc.
...但我似乎無法得到任何東西上班!