Skip to content

Page URL

You can change the web address a page is served at. For a suburb page you change the pattern its suburb URLs are built from (Custom URL Layout). For a static, blog or error page you change its single path (Edit Page URL), which is also shown on the page's Page Info card.

How to get here: Sidebar > Suburb Pages (or another page type) > select a page > Actions > Custom URL Layout or Edit Page URL. See Page details.

These actions are only available on accounts that have several page types (home, static, blog and error pages as well as suburb pages). If you do not see them, they are not included in your plan. Contact support.

Changing the URL of a live page changes the address visitors and search engines use. To send people who use the old address to the new one, add a redirect in Redirects.

Suburb pages: Custom URL Layout

By default, a suburb page's URLs follow the layout /{service}/{state}/{suburb}/, for example /emergency-plumbing/western-australia/joondalup/. A custom layout lets you arrange these parts differently, for example /emergency-plumbing-in-joondalup-western-australia/.

The Actions panel of a suburb page with Custom URL Layout under Duplicate Page

Set a custom layout

  1. In the Actions panel, select Custom URL Layout.
  2. Read the Important Notice. Custom URL layouts only work on Suburb Stack sites connected directly to the CMS. If your site uses a proxy, CDN or external routing layer, custom URLs may not resolve correctly. If you are not sure how your site is connected, check with support before you continue.
  3. Select I Understand, Continue.
  4. Build the pattern in URL Pattern. Type it, and add the three variables by selecting a chip (it is inserted where your cursor is) or by dragging a chip into the field:
  5. {{service}}: the page's service name, for example emergency-plumbing
  6. {{state}}: the state, for example western-australia
  7. {{suburb}}: the suburb, for example perth
  8. Check the Preview line. It shows the URL your pattern makes for a sample suburb.
  9. Select Save.

The Important Notice warning shown before you change a suburb page's URL layout

The Custom URL Layout dialog with the three variable chips and an empty URL Pattern field

A complete pattern with its preview: /emergency-plumbing-in-perth-western-australia/

Rules for the pattern:

  • All three variables are required. If one is missing, you see Pattern must contain: followed by the missing variable, and Save stays unavailable.
  • Apart from the variables, use only letters, numbers, hyphens and slashes. Otherwise you see Pattern contains invalid characters. Only letters, numbers, hyphens, and slashes are allowed.
  • The pattern is saved in lowercase with a / at the start.

The pattern /{{service}}-in-{{suburb}} with the message Pattern must contain: {{state}}

Go back to the default layout

  1. Open Custom URL Layout and select I Understand, Continue.
  2. Select Remove Custom Layout (bottom left). It only appears when the page has a custom layout.
  3. At Revert to the default layout?, select Remove. Select Keep to change your mind.

The page's URLs go back to /{service}/{state}/{suburb}/.

Static, blog and error pages: the Page Info card

On a home, static, blog or error page, the bottom of the details screen shows a Page Info card instead of Location Management. It is headed with the page type (for example Static Page) and shows:

  • Page URL: the path, for example /about-us, and the full address on your domain. Select the full address to open the page in a new tab.
  • A note explaining the type: a static or blog page serves a single URL with no location variations; an error page is shown when visitors hit its error.
  • Edit Page URL (static, blog and error pages): opens the dialog described below. It does the same as Edit Page URL in the Actions panel.

The details screen of a static page, with the Static Page badge, Edit Page URL in the Actions panel and the Page Info card

The Page Info card for a static page at /about-us

The home page

The home page is always served at /, the root of your domain. Its card has no Edit Page URL button, and its Actions panel has no URL action.

The Page Info card for the home page, always at /

Change a static or blog page's URL

  1. Select Edit Page URL (in the Actions panel or on the Page Info card).
  2. In Page URL, type the new path after the /, for example our-team. Capitals become lowercase and characters other than letters, numbers, hyphens and slashes are dropped as you type.
  3. Wait for the check under the field, then select Save.

The Edit Page URL dialog with the path about-us

The new path is checked as you type. Messages you may see:

Message What to do
This is the page's current URL. Nothing has changed yet. Save stays unavailable
Checking… Wait a moment
URL available The path is free. Select Save
URL must be between 2 and 128 characters Make the path longer or shorter
URL can only contain lowercase letters, numbers, hyphens, and slashes The path must start with a letter or number and use only those characters
URL conflicts with a reserved path (...) Suburb Stack reserves paths starting with sitemap, robots or favicon, and the /api/ and /portal/ folders. Choose another path
Another reason, for example the URL is already in use Choose another path
Couldn't save the URL: The change was not saved. Try again

The message URL conflicts with a reserved path (sitemap) under the Page URL field

Change which error an error page answers

An error page's URL is its error code, for example /404.

  1. Select Edit Page URL.
  2. Choose the Error Code: 404 - Page Not Found, 500 - Server Error, 403 - Forbidden, 400 - Bad Request, 502 - Bad Gateway or 503 - Service Unavailable.
  3. Select Save.

The Edit Page URL dialog for an error page, with the Error Code list set to 404 - Page Not Found

If the current URL cannot load

If the dialog says The current URL could not be read, select Try again. Select Close to leave without changes.

  • Page details: the other page actions.
  • Pages: page types, and choosing a URL when you create a page.
  • Redirects: send visitors from an old URL to the new one.
  • Go Live: publishing the page and its sitemap links.