wix-location
The wix-location module contains functionality for getting information about the URL of the current page and for navigating to other pages. Learn more.
Additional information about this section
Store values associated with an object
- baseUrl
Gets the base URL of the current page.
- path
Gets the path of the current page's URL.
- prefix
Gets the prefix of a dynamic page's or router page's URL.
- protocol
Gets the protocol of the current page's URL.
- query
Gets an object that represents the query segment of the current page's URL.
- queryParams
Gets an object used to manage the query segment of the current page's URL.
- url
Gets the full URL of the current page.
- QueryParams
An object used to manage the query segment of the current page's URL. Get hands-on experience with the URL query parameters on our Hello Query Parameters ...