-
Notifications
You must be signed in to change notification settings - Fork 9
URLs and Linking
Joomlatools Pages offers three ways to define URLs: Links, Routes and Redirects. Page URLs are generated for you out-of-the-box, routes allow you to customise the URLs and define multiple URLs for a single page and redirects allow you to direct an URL to a different URL.
Pages are a literal representation of your site’s URL structures. Each Page lives in a hierarchy among other Pages. Together they form a logical tree structure made of parents, children, and siblings.
Each page has its own slug, in a hierarchical structure, the slugs of each page are combined to create the page URL.
See also: URLs and Linking > Links
Routes are rules that map URL patterns to pages and allow you to define alternative URLs to access pages. They might be explicitly defined — like an exact URL pointing to an exact page — or they might contain variables to create dynamic routing rules.
See also: URLs and Linking > Routes
Redirects allow you to direct a user from one page to another. Joomlatools Pages supports two methods of redirecting. “External” (ie. permanent) redirects, and "Internal" (ie. temporary) redirects.
Redirects can be defined either in the page frontmatter or in the configuration. Through the configuration, it's possible to create routed redirects that will match multiple URLs.
See also: URLs and Linking > Redirects
Got a question or need help? We have a forum on Github Discussions where you can get in touch with us.