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