0
我嘗試htaccess的從htaccess的重寫規則
http://www.mydomainname.com/main/something/something
改變到
http://www.mydomainname.com/store/something/something
我要替換/主/到/存儲/
你能請幫我解決這個問題?
我嘗試htaccess的從htaccess的重寫規則
http://www.mydomainname.com/main/something/something
改變到
http://www.mydomainname.com/store/something/something
我要替換/主/到/存儲/
你能請幫我解決這個問題?
使用此規則在根目錄的.htaccess:
RedirectMatch 301 ^/main(/.*)?$ /store$1
其作品,但有時URL會像.... http://www.mydomainname.com/main/到http:// WWW。 mydomainname.com/store/ – NidhinRaj 2014-09-11 07:57:48
好吧現在嘗試更新規則。 – anubhava 2014-09-11 07:59:15
它適合你嗎? – anubhava 2014-09-11 10:02:17