[eluser]Unknown[/eluser]
Hello! Need help with this:
Had my site with this URL
mysite.com/index.php/controller/view1
Removed controller name from URL with routes.php
with .haccess removed index.php and site works with
mysite.com/view1.
But it doesnot work with simple
mysite.com
How to make that with
mysite.com called
mysite.com/view1 ?
Code:
DirectoryIndex view1.php
not work.
And trying this one
Code:
RewriteCond %{HTTP_HOST} ^mysite.com$ [NC]
RewriteRule ^(.*)$ http://mysite.com/view1/$1 [R=301,L]
Thanks