0

I have a clothing brand Ace & Jig listed in my brand list. I'd like the users to be able to go to the brand's product page by linking it to "http://www.achengshop.com/collections/vendors?q=ace+&+jig", but the "&" seems to get ignored. How could you use "&" in the url?

JJ L
  • 11
  • 4
  • possible duplicate of [escaping ampersand in url](http://stackoverflow.com/questions/16622504/escaping-ampersand-in-url) – awesoon Oct 27 '14 at 02:41

2 Answers2

0

You cannot. It is a reserved word. But you can percent encode it: Just use this '%26' in place of the ampersand (without quotes).

http://en.wikipedia.org/wiki/Percent-encoding

Jeff
  • 2,293
  • 4
  • 26
  • 43
0

You need to escape the ampersand with %26, since it is a reserved character used as a separator for GET parameters. For example, here's your URL with the ampersand properly escaped:

http://www.achengshop.com/collections/vendors?q=ace+%26+jig
Todd A. Jacobs
  • 81,402
  • 15
  • 141
  • 199