WordPress.org

Ready to get started?Download WordPress

Forums

how to get rid of "amp;" and "#038;" (2 posts)

  1. renek
    Member
    Posted 7 years ago #

    Hello All,

    i have some problem with text formatting and i hope someone can help me out with this. I am using advertiser links on my WP blogs like this :

    http://www.advertiser.com&refcode=1234

    but wordpress is converting this to

    http://www.advertiser.com & amp; refcode=1234

    or this

    http://www.advertiser.com & #038; refcode=1234

    (without spaces ofcourse)

    so my refcode doesnt get added to the URL and i wont be credited for an evt. sale.

    any idea how to get rid of this ? editing the HTML doesnt solve this as it gets added again. I tried this with and without the WYSIWYG editor enabled.. Hope someone can help me with this.. thank you !

  2. whooami
    Member
    Posted 7 years ago #

    where is your wordpress blog

    encoding ampersands inside urls is normal and shouldnt break anything.

    This is equivalent:

    http://www.advertiser.com&refcode=1234

    http://www.advertiser.com&refcode=1234

    as far as the browser is concerned.

    the source of the 2 links above:

    http://www.advertiser.com&refcode=1234

    http://www.advertiser.com&refcode=1234

    Notice they go to the same place.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags