Hello,
You need to make sure that the content is placed in correct locations in the content tree, and that the generated links point to the correct content. You can also consider using
wildcard URLs to achieve this. The setup depends on you actual content tree structure.
Best regards,
Boris Pocatko