Gets the prefix of a dynamic page's or router page's URL.
Only dynamic pages and router pages have a prefix. The value of the
prefix
property for other page types is always undefined
.
Premium sites:
Free sites:
To learn more about dynamic page prefixes, see About URL Prefixes and Page Grouping of Dynamic Pages.
To learn more about router page prefixes, see About Routers.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.