I am making a page, and in it I want to link to a pre-generated map by map-quest. This link includes the character "&" which is detected as a big problem by a validation tool I use. I seem to recall a tutorial that has a way to either say not to parse the "&" or add characters so that the parser will read it as "&" (similar to being a blank space).
if you create your URLs yourself using PHP then your php.ini should contain the configuration: if you have access to root - then it may belong typically into /etc/php5/apache2/php.ini else in the php.ini accessible by you ; The separator used in PHP generated URLs to separate arguments. ; Default is "&". arg_separator.output = "&" this will system wide or where ever you put your php.ini convert all ampersand as & to make the links fully w3.org compatible for code validation to always display all & as such otherwise if only one static URL needs to be adjusted - then follow the method above by void using &, instead of &
There's the problem, I forgot the ; after & (which was the code I had been trying). Thank you! And no, no auto-generated links yet I'm afraid. We just copied and pasted one from the browser address line and it has ampersands in there.