In the Govstack Content Management System (CMS), you can create permanent (301) or temporary (302) redirects. You can also manage any redirects that are automatically created by Govstack anytime you move a page within the menu navigation of your website. Review the redirect functionality and learn to to create and manage redirects.
Create a redirect
With the Govstack CMS, you can set up redirect links from your old website to your new Govstack website. This can be useful when you first launch your new site, as some users may go to the old website URL address looking for information. A redirect will automatically direct users from pages on your old website to the new website.
To add a redirect, you need to
- Select the 'Content' tab in the Govstack CMS back office
- Select the 'Redirects' tab located near the top of the page
- Choose the 'Add new redirect' button
- This will open the 'Add new redirect' slide-out panel
- In the 'Original URL' field, paste the URL website address from the page on your old website that you'd like to redirect to the new website
- Then, click the "Select Destination" button and copy the URL into the 'Link' box. Please note: only selecting the page destination from the drop down menu will not complete the process. The URL has to be manually inputted or copied for the redirect to work correctly.
You can also complete a few advanced options:
- If you are creating a permanent 301 redirect, select the 'Permanent' radial button
- If you are creating a temporary 302 redirect, select the 'Temporary' radial button
- Select the 'Enabled' radial button if the destination requires a query string in the URL
Once you're finished, select the 'Add' button to complete the process.
Best practices for redirects
As a best practice when launching a new website, you should create permanent redirects for the following pages:
- Homepage
- Any landing pages
- Contact page
- About us page
- All main vertical menu pages
Next, we recommend setting up redirects for any top viewed pages from your old website. Typically, this would be the top 50 viewed pages on your website. However, if you have a larege website, with over 1,000 pages, we would recommend adding redirects for the top 100 viewed pages from your old site.
Managing URL redirects
The Govstack CMS will automatically create a URL redirect anytime you move a page in your menu or navigation. This helps reduce the number of broken links on your website and allows you to move pages without having to set up new hyperlinks.
To view and manage all redirects within your Govstack CMS, follow these steps:
- Select the 'Content' tab in the Govstack back office
- From here, choose the 'Redirect URL Management' tab
- You will now see a log of all redirects that have been created within the Govstack CMS
You can choose to remove any redirect or disable the redirect tracker.