Question:
I’ve migrated a database from an old SQL-driven website in to WIX. I’ve set up the collection and the dynamic pages for the database items. I’m now trying to create all the redirects from the old website links to the new Wix pages. I’m using the Wix redirect manager in the dashboard. I’m running into a problem to do with percent codes in URLs.
For example, I want to redirect from “/something%3F” where the %3F is an encoded question mark. When I try to redirect this to “/something” it throws an error: “This redirect can’t be saved as it creates a loop. Delete the existing redirect or change the new URL here.” It’s as if it ignores the %3F and sees the two URLs as the same (hence it thinks it’s a loop). It’s the same if I replace the %3F with a ?.
The redirect is necessary because if I navigate to “/something%3F” it doesn’t find the page, which is /something. If I navigate to “/something?” then it does find the right page.
It seems odd that the percent code is observed when navigating to the page but it is not observed when setting up a redirect.
I’ve also had a lot of issues with spaces encoded in URLs. A lot of links used in the previous website were to pdf files, many of which had spaces in their filename. These are encoded as %20. When I put these URLs into the redirect manager it throws an error and says that the URL cannot contain spaces. It’s substituting the %20 code for a space before it does it’s error checking. This makes it impossible to redirect many of my previous site’s links - which are bone fide URLs.
Product:
WIX URL Redirect Manager
What are you trying to achieve:
Redirecting links from my old website to the new Wix website.
What have you already tried:
As above, I’m using the Redirect Manager.
Additional information:
See above.