WordPress.org

Ready to get started?Download WordPress

Forums

Pretty Link Lite
[resolved] Single quotes in target url mess things up after saving (3 posts)

  1. tfmwa
    Member
    Posted 10 months ago #

    When creating a Prettylink for:

    http://www.blablablablabla.com/ebook_'loving_it'/buy

    And pressing save, the url gets turned into:

    http://www.blablablablabla.com/ebook_\'loving_it\'/buy

    You can see this after opening the url again in Prettylinks after saving it. Redirection plugin (which I want to ditch) seems to handle this in a way that doesn't cause any problems (it saves the link as entered).

    Please note that I do not use special characters in my links, but sadly third parties aren't always willing to cooperate. In this case the ebook title is also used as part of the url in the affiliate network.

    Is there anything that can be done to handle urls with special characters?

    http://wordpress.org/plugins/pretty-link/

  2. cartpauj
    Member
    Plugin Author

    Posted 10 months ago #

    I'll get this on our bug tracker, but technically quotes should not be in URLs per convention. You can try encoding them like this though:
    http://www.blablablablabla.com/ebook_%27loving_it%27/buy

  3. tfmwa
    Member
    Posted 10 months ago #

    Hi cartpauj,

    Thanks for your reply and for considering this suggestion.

    I know where you're coming from. I've suggested the same thing to the product owner (to change it) and the affiliate network (to not allow special characters).

    Thanks for your suggestion to work around the issue. I'll give it a go!

Reply

You must log in to post.

About this Plugin

About this Topic