The WixRouterRequest object breaks the URL of the incoming router request
into different parameters for easy access.
The URL is broken into:
For premium sites, the URL of the site router request has the following format:
https://www.domain.com/myPrefix/myPath?myQuery=myValue#myHashDesc
https://www.domain.commyPrefixmyPathmyQuery=myValue#myHashDescExample:
https://domain.com/mammals/elephant?species=african-elephant#LifeSpan
https://domain.com/mammalselephantspecies=african-elephant#LifeSpanFor free sites, the URL of the site router request has the following format:
https://user.wixsite.com/mySite/myPrefix/myPath?myQuery=myValue#myHashDesc
https://user.wixsite.com/mySitemyPrefixmyPathmyQuery=myValue#myHashDescExample:
https://user.wixsite.com/zoo/mammals/elephant?species=african-elephant#LifeSpan
https://user.wixsite.com/zoomammalselephantspecies=african-elephant#LifeSpanNote: The above URLs are for a published site. When previewing your site, you will receive the Editor URL.