2013-03-25 91 views
0

我好我從與文件夾存儲是希望一切都在我的網站的根文件夾指向http://qwerty-demos.co.uk/path/under-construction.htmlhtaccess的子文件夾附加到URL

我現在有

<IfModule mod_rewrite.c> 
    RewriteEngine on 
    Redirect 301 /store/ http://qwerty-demos.co.uk/path/under-construction.html 
</IfModule> 

其中一期工程偉大的,如果我只是去qwerty-demos.co.uk/store,但只要去qwerty-demos.co.uk/store/cart例如單詞cart被附加到重定向URL例如under-construction.htmlcart

任何人都可以在正確的方向指出我的請求SE。

乾杯

回答

1
Options +FollowSymLinks 
RewriteEngine on 
RewriteRule ^store.*$ http://qwerty-demos.co.uk/path/under-construction.html[r=301,L] 

試試這個希望它有助於

+0

非常感謝。真的很感謝你的時間。 – Ricky55 2013-03-27 13:59:38

相關問題