URLs Changed During XML File Import
-
The process is pretty easy to explain. I have 3025 pages. 1 of those pages contains a questionnaire. The remaining 3024 pages are results pages. If a person were to complete the questionnaire, their answers are analyzed and they are routed to a page, based on how they scored. Each of the 3024 results pages displays a graph, identifying how the EU scored in a specific set of categories.
The URLs of all these pages are in the following format:
https://domain.tld/results-10-Digit-Number https://domain.tld/results-########## https://domain.tld/results-1111000001 https://domain.tld/results-1111000002 https://domain.tld/results-1111000003 https://domain.tld/results-1111000004
These results are based on actuarial data, so some of the results pages need to use URLs with “results-0?????????” such as:
https://domain.tld/results-0001111001 https://domain.tld/results-0001111002 https://domain.tld/results-0001111003 https://domain.tld/results-0001111004
However, WordPress will not allow the “-0” number. In fact, WordPress truncates all zeros after the “-” until the first non-zero number.
The problem with this is that data is predefined by an actuarial calculation and the form routes the EU to a URL based on scoring.
How do I get the zeros to remain in place after “https://domain.tld/results-“?
Why does WordPress not deem “https://domain.tld/results-0001111001” a valid URL?
- The topic ‘URLs Changed During XML File Import’ is closed to new replies.