0
讓卓越的RewriteCond說,我有這樣的http://foo.com
這一領域作爲目前使用.htaccess
到RewriteCond
和.htaccess
碼域是這樣的:對於一些頁面
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
此重寫將發生在所有頁面要求,
現在我想改變這使得這隻發生在除本頁外的所有頁面上:
http://foo.com/en/rates.htm
因爲在該網頁我想要做301 redirect
這樣Redirect 301 /en/rates.htm http://www.google.com/index.html
如何這htaccess的?
謝謝你在前進,
GusDe