Hi
i m using htaccess to rewrite my urls.,
In this instead of http://www.mysite.com/index.php i want the url as http://www.mysite.com/home/
any ideas??
and also i m using the following code to redirect to the http://www.mysite.com/index.php when a non-existing filename is typed..
so i want the url to be displayed as http://www.mysite.com/home/ whenever http://www.mysite.com/index.php is called..And at the same time when an non-existing filename i,e url is passed it must be redirected to http://www.mysite.com/home/ instead of http://www.mysite.com/index.php
regards
vijay
i m using htaccess to rewrite my urls.,
In this instead of http://www.mysite.com/index.php i want the url as http://www.mysite.com/home/
any ideas??
and also i m using the following code to redirect to the http://www.mysite.com/index.php when a non-existing filename is typed..
Code:
.........
.............
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/Admin
RewriteRule ^ http://www.mysite.com/index.php
regards
vijay
Comment