.htaccess 部分URL的htaccess重写规则
我尝试从更改访问权限.htaccess 部分URL的htaccess重写规则,.htaccess,.htaccess,我尝试从更改访问权限 http://www.mydomainname.com/main/something/something 到 我想替换/main/to/store/ 您能帮我解决这个问题吗?在root.htaccess中使用此规则: RedirectMatch 301 ^/main(/.*)?$ /store$1 它的作品,但有时url会像。。。。到 RedirectMatch 301 ^/main(/.*)?$ /store$1
http://www.mydomainname.com/main/something/something
到
我想替换/main/to/store/
您能帮我解决这个问题吗?在root.htaccess中使用此规则:
RedirectMatch 301 ^/main(/.*)?$ /store$1
它的作品,但有时url会像。。。。到
RedirectMatch 301 ^/main(/.*)?$ /store$1