Skip to content
Zotonic
  • Start
  • Guides
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · zotonic_site_status
  • Reference
  • Frontend developer
  • Site management
  • Routing and redirects
  • Template filter
  • URL

get_admin_url

Module

zotonic_site_status

Return the absolute administration URL for a Zotonic site.

The result is undefined when the site has no administration dispatch rule.

For example:

<a href="{{ `mysite`|get_admin_url }}">Open administration</a>

Edit on GitHub

Related documentation

Filters

urlencode

Make a text safe for URLs.

Filters

sanitize_url

Sanitize an URL. Removes URLs that might be dangerous, like javascript: URLs.

Filters

parse_url

Parses an URL (URI) using uri_string:parse/1 .

Filters

url_abs

Generates an absolute URL for the given dispatch information.

Filters

is_site_url

Test if the given URL is a url for the current site.

Filters

set_url_language

Change the language of an URL to another language. Useful to generate alternative URLs for a page.

Filters

inject_recipientdetails

Adds recipient query string details to hyperlinks.

Filters

urlize

Find urls in the given input and make them clickable.

Tags

url

Generate the URL for a named dispatch rule. In this way it is possible to automatically change the generated URLs when the dispatch rules…

GitHub © 2026 Zotonic