Forum Moderators: phranque
RewriteEngine on
# REQUEST_URI
RewriteCond %{REQUEST_URI} !^/index.php.*
RewriteRule ^(.*)$ http://www.example.com/index.php/$1 [L]
basically i want
http://www.example.com/abcd.htm
to open as http://www.example.com/index.php/abcd.htm
however the url in the browser must remain the orignal.
this worked fine before, however since my server was upgraded by the hosting guys it no longer works. The redirect is done like it should, however the url on the browser changes as well to http://www.example.com/index.php/abcd.htm.
any help appreciated
[edited by: jdMorgan at 1:53 pm (utc) on April 4, 2008]
[edit reason] example.com [/edit]
RewriteEngine on
#
# Internally rewrite all requests to index.php
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteRule (.*) /index.php/$1 [L]
Jim