helo i have a problem with seting up my htaccess file: here is how it look like... RewriteEngine On Options +FollowSymLinks RewriteBase / RewriteCond %{HTTP_HOST} ^domain.org RewriteRule (.*) http://www.domain.org/$1 [R=301,L] RewriteRule !\.(js|ico|txt|gif|JPG|txt|swf|jpg|png|css|php|xml|html)$ index.php [QSA] Code (markup): i need to remove index.php from my url, (redirect http://www.domain.org/index.php to http://www.domain.org) anyone konow how to write it??? thanks
this document has many examples of different rewrites: http://www.helicontech.com/isapi_rewrite/doc/examples.htm#SEF also if you use php you could place this code on top of your index file: <?php header("HTTP/1.1 301 Moved Permanently"); header( 'Location: /' ) ; ?> make sure its before any code that's written