0

i searched but i couldn't manage the situation.

Site has bad structure so i put new framework's index file in directory under document root, called "web".

So, is there a htaccess solution to use url

www.anysite.com/alias-name/(*)
www.anysite.com/another-alias-name/(*)

Points to

www.anysite.com/web/(*)

While old structure links still work as usual.

I tried rewrite rule but it changes url that is not desired.

4

1 に答える 1

0

このhtaccessコードを試してください:

Alias /web/ /alias-name/
Alias /web/ /another-alias-name/
于 2013-07-16T11:18:24.870 に答える