homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Redirect to a URL with a & in it.

WebmasterWorld Senior Member 10+ Year Member

Msg#: 4239550 posted 2:05 am on Dec 7, 2010 (gmt 0)

RewriteRule ^Anything$ http-//www.youtube.com/user/ChannelName&p/u [L,R=301]

redirects to


instead of


How do you redirect to a URL with an & in it?



WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4239550 posted 8:31 am on Dec 7, 2010 (gmt 0)

As far as I know, the & is only valid as a query string delimiter and must be encoded if it appears anywhere else within a URL. That's in the HTTP specifications.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved