mod_rewrite with subdirectories |
[eluser]dexter21[/eluser]
Hi, i want to redirect a web that i have in http://www.domain.com/elek/index.php/home first at all , the server has only a .htaccess on root web directory , how could i redirect this url to http;//www.domain.com/elek/home ? i've tried with: Code: RewriteEngine on but nothing happened. i cant use " RewriteBase /elek " because this affect to other rules Many thanks
[eluser]marcoss[/eluser]
You have to set the sub-folder as your RewriteBase, like this: Code: RewriteEngine On |
Welcome Guest, Not a member yet? Register Sign In |