About Published Site URLs

The Published Site URLs API allows you to retrieve links to the published site, including the site's primary and secondary URLs, and their language info.
On occasion, you might want to direct a site contributor or site visitor to the published site - for example, to the site's homepage in a secondary language.
With this API, you can easily access the URLs to their published site.

Use cases

Terminology

  • Published site: A Wix site that is live and visible to site visitors.
  • Premium: Wix users can pay for Premium plans to unlock additional site tools and features, including connecting their own domains. Read more about Premium plans.
  • Primary URL: Wix users can connect an unlimited number of domains (URLs) to a single Wix site. The primary URL is the domain that they connect directly to the site and is the site's main URL.
  • Secondary URL: When Wix users connect additional domains/URLs to a site, they are considered secondary URLs, and will redirect visitors to the primary URL.
  • Wix Multilingual: A Wix product that manages site translation. Read more about Wix Multilingual.
Did this help?