-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
  • 29,105
  • 8
  • 50
  • 70
0

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

avasin
  • 8,306
  • 14
  • 74
  • 120