How to escape hash character in URL

Muhammad Hewedy picture Muhammad Hewedy · Feb 15, 2011 · Viewed 136.9k times · Source

How to escape the # hash sign (sometimes known as number sign or pound sign) sent in the query string of a URL?

Answer

Robert Tupelo-Schneck picture Robert Tupelo-Schneck · Feb 15, 2011

Percent encoding. Replace the hash with %23.