TL;DR —
A page's URL is made up of several parts that are detailed below. Your site's URL looks different depending on whether you have a premium site or a free site. Base URL is the URL of your home page. The protocol is the start of both types of URLs. The path follows the prefix if there is no prefix, it follows the base URL. The query is a list of keys and values and the path follows a path if one exists. The base URL of a page is the URLs of your site's pages.
In many situations you might refer to the URLs of your site's pages. A page's URL is made up of several parts that are detailed below. Your site's URL looks different depending on whether you have a premium site or a free site.
Full URL
Here, we'll use the following equivalent URLs to demonstrate the difference between premium and free sites:
- Premium:
https://domain.com/animals/mammals/elephant?species=african-elephant - Free:
https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant
Protocol
The protocol is the start of both types of URLs:
- Premium:
https://domain.com/animals/mammals/elephant?species=african-elephant - Free:
https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant
Base URL
The base URL is the URL of your home page:
- Premium:
https://domain.com/animals/mammals/elephant?species=african-elephant - Free:
https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant
Prefix
Dynamic pages and router pages have a prefix:
- Premium:
https://domain.com/animals/mammals/elephant?species=african-elephant - Free:
https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant
Path
The path follows the prefix if one exists. If there is no prefix, it follows the base URL:
- Premium:
https://domain.com/animals/mammals/elephant?species=african-elephant - Free:
https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant
Query
The query is a list of keys and values:
- Premium:
https://domain.com/animals/mammals/elephant?species=african-elephant - Free:
https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant
Previously published at https://support.wix.com/en/article/velo-about-the-url-structure-of-premium-and-free-sites
[story continues]
Written by
@velo
Velo is a full-stack development platform that empowers you to rapidly build, manage and deploy professional web apps.
Topics and
tags
tags
velo|web-development|url|coding-with-velo|wix|seo|velo-api|routing
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: R5w-UHdxkOe8S3yVkLe2HKlfu5OL6iTxB3gbwqHegGI
