Page Redirection

Page Redirection

There are two main methods for setting up a page redirector:

1. Through the Dashboard as a Page Redirector .

2. Hard-coded into the page.

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 helps guide users to the correct service, rather than a services page that simply redirects the user to the "Personal Accounting" page.

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 in the left sidebar.

3. Add this code into the page source, replacing '/about-us/' with the page id you would like to redirect the user to:

4. Save the page by clicking the "Save Page" button located in the top left side of the screen.

Share This Tutorial: