I've copied the exact menus and menu structured over from a J3 website to a J4 website but the resulting URL tree is generating differently on the J4 site.
For example the old J3 URL is: https://old.lymington.com/**lymington-life**/arts-in-lymington
The exact same menu structure J4 generates: https://dev.lymington.com/lymington-life/arts-in-lymington
At this point they are the same, if you then click on an article,
J3 gives the URL:https://old.lymington.com/**lymington-life**/**leisure-sport**/131-leisure/1673-lymington-lido-mark-hugh-may20
J4 gives the URL:https://dev.lymington.com/**lymington**/131-leisure/1673-lymington-lido-mark-hugh-may20
In j4 the lymington is generated from a hidden menu item (article category view) created to show the category in the URL rather than a query string. This works fine in J3 but in J4 it is being added to the URL instead of the parent url/category.
I know I'm not really explaining this too well.
Any help or if I can provide any extra information, please do ask. This has been frying my brain.
After a bit more thinking, I think the easiest way would be to rewrite all URLs from this structure: https://old.lymington.com/**lymington-life**/**leisure-sport**/131-leisure/1673-lymington-lido-mark-hugh-may20
To remove/redirect the leisure-sport/ part of the URL so the resulting redirect would point to: lymington.com/lymington-life/131-leisure/1673-lymington-lido-mark-hugh-may20
Kind Regards Donna