Jump to content

change url in browser`s address bar


djdealer

Recommended Posts

Hi!

i have urls like:

http://www.mysite.com/forum.php?x=103

http://www.mysite.com/news/new.php?nw=12

 

I need that all theese urls in browser`s address bar show like http://www.mysite.com/ but without using frames.

I think that been done in .htaccess with following strings:

 

RewriteEngine ON

RewriteRule ???

 

If that is right, what i need to write after RewriteRule, to output only http://www.mysite.com/ in browser`s address bar?

tnx =]

 

Link to comment
Share on other sites

Simple option is use frames,

other options is uses sessions, you basically control everything via a session instead of GET's,

 

But if you are having problems with bandwidth or too many users this is of course one way to make people leave your site as it will stress out members as their bookmarks become pointless and their was no reason for it in the first place..

Oh and lets not forget the hell behind the code and management..

 

As you may of guessed i don't recommend this approach, may i ask why, do you want to do this!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.