Page Redirection

There are two main methods for setting up a page redirector. The method chosen depends on whether you would like the page to appear in website navigation.

If the page will appear in website navigation, it should be hard-coded as a redirector into the page. Otherwise, a page re-director can be setup through the admin panel.

Content vs Redirection

Before setting up a page redirector, consider that a page with content is a far better contribution to a website than a page created with the intention of simply redirecting a user to another page. A good example is the "services" page of a website. Consider the following scenario of an accounting website: 

  • Our Services
    • Personal Accounting
    • Business Accounting
    • Financial Planning
    • Tax
It is better practise to have a services page that might consist of the following content, rather than a services page that simply redirects the user to the "Personal Accounting" page:

Our Services:

Personal Accouting: A short paragraph about this service, why the user should choose this company rather than a competitor.
Business Accounting: A short paragraph about this service, why the user should choose this company rather than a competitor.
Financial Planning: A short paragraph about this service, why the user should choose this company rather than a competitor.
Tax: A short paragraph about this service, why the user should choose this company rather than a competitor.

Configuring A Page Redirector Through The Admin Panel

If the page will appear in the navigation menu, it is recommended that the page redirector is setup through the admin panel. The page redirector functionality can be accessed through the admin panel by navigating to Pages > Redirectors > New Redirector. This page will allow you to specify the page which will redirect the user and the page which the user will be redirected to.

This page also gives the option to specify an "Expire After" time, which is the number of days of inactivity required before the redirector is removed. If this field is set to 0, the redirector won't expire.

The redirection mode should be set to 301 in most cases.

Hard-coding Page Redirection

To hard-code a page to automatically redirect the user to an alternate page, do the following: 

  1. Edit the page, this can be done by clicking the page through the "Pages" admin panel.
  2. Open the page source editor by clicking the "Source" button, located at the bottom left side of the screen.
  3. Copy and paste this code into the page source, replacing the '/about-us/' with the page id you would like to redirect to:
  4. Save the page by clicking the "Save Page" button located in the top left side of the screen.