1

For pesky trailing slashes at the end of URLs, example.com and example.com/ are equivalent. What about subdomain homepages such as support.example.com and support.example.com/? Is it the same rule?

1 Answer 1

1

Yes.

The domain name part is processed seperately the "path" part of the URL. Subdomains are treated the same way as their parents by the web server (in fact example.com is a subdomain of com).

This is maybe easier to demonstrate in cctlds - example.co.nz behaves the same way as example.com - even though its a subdomain. ( www.example.com and www.example.co.nz have the same behaviour as well)

1
  • Thank you, very helpful!
    – Greg98
    Commented May 20, 2021 at 8:30

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.