I’m finding a lot about creating pretty URIs and whatnot using mod_rewrite but what I’m looking for is a way to remove elements of a URL (as far as the viewer is concerned) and not just moving stuff around and/or reorganizing.
I need this:
to be this:
Basically, let’s get rid of /foo in the URL.
Is that possible?
You can easily achieve that by simply dropping what you want to lose:
That should effectively remove
foo/from your URL. If you don’t want the address bar to reflect this change, removeR=301. TheNEparameter is there to make sure that the request is not escaped.