I want to link to a page inside a website so the url I want to link to is this:


when I set a link like that:

<a href="about-us/team">Our Team</a>

It doesnt work. I get to the site: http://about-us/team

Is there a solution to that? The reason why is because after the Website is finished it will go online under a different domain.

best regards


1 Answer 1


You have to add a slash to the beginning of path

<a href="/about-us/team">Our Team</a>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.