Glad that it helped you as this is not too easy to figure out.
So for spaces there is a extra step you need to do.
In the workflow of whatever you use to create the url you need to check for spaces and remove them. Replace them with the “_” and it will “magically” work. I know not obvious so that’s why we’re here to help each other Be sure to type the [space bar] for the space character in the what to find portion.
In the example below I check 3 times for 3 spaces so you can add more or less depending on how many spaces you think your words will have.
Hope this helps…