Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #944965

    Hello,

    I have hyperlinks on my site that have an ampersand in them. The first time I save the page it saves fine. When I go in to the page and make any edits, including edits not involving the hyperlink, it changes the hyperlinks. Here is an example:

    https://tds.ms/OE/Customer/studentTeen?companyId=hEMjibPYstA&param=H

    On the first save of the page it works fine. After any other changes to the page and a save it changes the value of the URL to this:
    https://tds.ms/OE/Customer/studentTeen?companyId=hEMjibPYstA¶m=H

    Please advise. Thank you! – Perry

    #944980

    Hey Perry,
    I recommend using a link masking service such as https://goo.gl/
    I tested using & to replace the & in your link, but after a couple of edits to was replaced with the other symbol.
    I also tested this plugin which seems to work with the default editor, it doesn’t work with the advanced layout builder.
    But it’s still not a good solution because the filter that WordPress puts in place it there to protect your site, which is why you won’t find a plugin on the WordPress plugin site that will do this.
    I’m sure you could setup a 301 redirect, or write a js script, but in the long run it would just be easier to use a link shorter or masking service.

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.