& symbol problem in htaccess

Posted by muralikalpana on Stack Overflow See other posts from Stack Overflow or by muralikalpana
Published on 2010-05-22T06:53:41Z Indexed on 2010/05/22 7:00 UTC
Read the original article Hit count: 139

Filed under:
|

hello.... my current url is

categories_name.php?cname=at&t

rewritten url like this.

carriers/at&t

this is htaccess url.

RewriteRule ^carriers/(.*)$ categories_name.php?cname=$1 [L]

above url is working for all like

categories_name.php?cname=all-tel

when variable(at&t) has '&' symbol then problem occuring. so how to write htaccess url?

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about mod-rewrite