What is Same-domain URL?
A same-domain refers to the domain name that you are using for a website.
A same-domain URL refers to a web address that belongs to the same domain name as the current website you are visiting.
For example, if you are on: https://example.com/products
This is a same domain (example.com) URL, that includes a path (/products).
Any other URL that shares the same domain name is considered a same-domain URL, such as:
https://example.com/about https://example.com/contact https://example.com/blog/post-1
The domain name is the core part of the URL (e.g., example.com). As long as the domain remains the same, variations in paths (/products, /about, etc.) do not change the fact that it is the same domain.
If the domain changes—for instance, shop.example.com or example.org, it is treated as a different domain or as a subdomain.
Last updated