500 server with cancelation link in mail

Support forumCategory: Bugs500 server with cancelation link in mail
sjoerd_van_dijk asked 3 years ago
When people use the cancel-link in the e-mail they get a 500 server error. Wordpress/SEO redirects the cancel link to a link with a slash. So: websiteurl.com?_ea-action=cancel&_ea-app=13&_ea-t=######## becomes websiteurl.com/?_ea-action=cancel&_ea-app=13&_ea-t=######## whichs gives an 500 server error because of the redirect. We don't want to edit the url structure. Is it possible to add some characters before the url? Then the url works. Als we would like to have a seperate cancel page if people use the cancel url. Or is there a hook we can use for this?
sjoerd_van_dijk replied 3 years ago

Or is there #PLAIN_URL_CODE# without the main site url tag which I can use?

Nikola Loncar Staff replied 3 years ago

Yes there is. you can use #url_cancel#

Best regards,
Nikola

sjoerd_van_dijk replied 3 years ago

Hi Nicola,

Thank you for your message. With #url_cancel# we get the full url including de root url (domain). Is it possible to get the url without the root url? Because the root url adds a ‘/’ and that gives an 500 server error.

sjoerd_van_dijk replied 3 years ago

*Nikola

1 Answers
Nikola Loncar Staff answered 3 years ago
Hi, can you please paste the link that is now and link that is working (without /). Best regards, Nikola