Hello, I am having trouble with redirects. I am wanting to redirect a subpage on my website and all of the pages in its folder to a subdomain. The page: https://fiiber.ca/user-guide I would like to redirect to the subdomain: https://help.fiiber.ca/ . I also want to pages inside to redirect to the subdomain: https://fiiber.ca/user-guide/my-first-form to https://help.fiiber.ca/my-first-form .
The links work if I type them in as the subdomain but on the actual website the links do not function proper as it adds the slug “/user-guide/” before the page.
I have connected the domain as a domain alias on Netlify and have set up my Netlify.toml as follows:
from = “https://help.fiiber.ca/*”
to = “https://fiiber.ca/user-guide/:splat”
status = 200
force = true
If someone could please help me I would be very appreciative, I have looked in other similar community answers and documents but I seem to be missing a step. Thank you!