I can easily set up a site so that if the user types in "/page1/" it takes them to "/page.php?id=1", agreed?
I've done it many times, and it does it without sending a 301/302, and without changing the URL that the user sees in their browser.
I have an odd situation at the moment.
I need to rewrite www.domain1.com, to www.domain2.com/specificpageonthisdomain
When I've tried it using mod_rewrite it sends a redirect header and changes the user's URL in their address bar.
I presume this is intentional behaviour, designed to stop people from being able to hijack others websites? Or am I missing an easy trick that will let me accomplish what I need to do?
cheers!