-3

Possible Duplicate:
How to: URL re-writing in PHP?
How can I keep the same url in the address bar for every page?

I am using a query string to pass information to a page but do not want the string to appear in the browser address bar.

www.mysite.co.uk?lp=catlist

is loaded but I just want the address bar to show

www.mysite.co.uk

Is there a way of doing this?

Thanks

Community
  • 1
  • 1
Justin Oakley
  • 23
  • 2
  • 3

2 Answers2

2

use htaccess

Options +FollowSymLinks
RewriteEngine On


RewriteRule www.mysite.co.uk www.mysite.co.uk?lp=catlist
Prasanth Bendra
  • 31,145
  • 9
  • 53
  • 73
0

Use POST variables instead. This way no data will appear in address bar.

avasin
  • 9,186
  • 18
  • 80
  • 127