Spaces removed from target URL
-
I’ve migrated a bunch of files from an old site and the Redirection plugin has made this job a great deal easier so thank you for this!
However, I’m having an issue with a regex redirect set up which generally works very well, except for links with spaces in the URL.
Source URL =/Core/North-Hinksey-PC/UserFiles/(.*)
Target URL =/wp-content/uploads/old_site/$1
Eg. I’d expect this URL
https://northhinksey-pc.gov.uk/Core/North-Hinksey-PC/UserFiles/Files/Policies/NHPC%20Privacy%20Policy.pdf
to redirect to:
/wp-content/uploads/old_site/NHPC%20Privacy%20Policy.pdf
But the redirect removes the spaces which leads to:
/wp-content/uploads/old_site/NHPCPrivacyPolicy.pdf
which results in WordPress showing a 404 page.Unfortunately I don’t know if this is a recent bug/regression, or if this has always been the case since I set the site up.
Hope you can help,
Thanks!The page I need help with: [log in to see the link]
- The topic ‘Spaces removed from target URL’ is closed to new replies.