tibberous Posted January 20, 2008 Share Posted January 20, 2008 I am trying to turn forum.php?id=1 into TheBoard.php. I added this line: RewriteRule ^TheBoard.php forum.php?id=1 And it works. But it shows up in the address bar as forum.php?id=1. Any idea what would be causing it? Quote Link to comment Share on other sites More sharing options...
madmax Posted January 20, 2008 Share Posted January 20, 2008 Unless you redirect [R] your browser will know nothing of what is happening to the request at the Apache server end. HTTP is a stateless protocol. It will simply retain whatever URL it sent in the bar. You could perhaps use some Javacript in any page content to re-jig the URL bar or simply send a redirect back to the browser so it can adjust the URL bar and make a new request for the correct page. Some background info on how problems with URL bars in browsers arise - http://en.wikipedia.org/wiki/Stateless_server Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.