[jQuery] rewriting the browser address (without refresh)?

[jQuery] rewriting the browser address (without refresh)?

I know you are talking about rewriting the URL once
you click on an anchor tag, but FYI in case you
weren't aware, you can use mod_rewrite (if your server
is running apache) in a .htaccess file to rewrite
urls. I've been doing this for years, because indeed,
search engines like it better if your url is something
like 2.html instead of index.php?id=2. With the
mod_rewrite option the url essentially is rewritten
when someone tries to visit .php?id=blah (or whatever
pattern you give it), which makes search engines
happy.