Create & Manage Redirects

Prev Next

This article will show you how to create a new Redirect. Redirects take you from one page to another automatically.

Best Practices

It is best practice to have the settings as follows:

  • Do Not Retain URL

  • HTTP 301

  • Do Not Retain Query String

  • Do Not Retain Path

  • Select Match Query String

Create a Redirect

Who can use this feature?

System Administrator | Owner | Publisher

  1. Sign in to your site

  2. Navigate to Modules, click Site Tools, and select RedirectsNavigate to the redirects site tool module.

  3. Select desired domain Select a domain.

    • All Sites: Will apply the redirect to all your domains; this is the recommended option

    • By selecting a specific domain, the redirect will only be active on that domain

      Note: If you choose this route you will need to add the redirect to both the www and non-www domains (for example: www.civicplus.com and civicplus.com).

  4. Select Add Redirect on the right Add redirect button.

  5. Fill in the appropriate information Redirect option fields.

    • Link From: Relative URL that will be entered in the browser's address bar or used as a link

      • For Example: /Parade, /AnimalShelter, /PollingLocations

        Note: This must be a Relative URL. The Relative URL will begin with a forward slash (/). Absolute URLs will not be accepted in this field. Some Relative URLs are reserved by your site and are not available for use.

        • Example: /DocumentCenter, /Facilities, /Permits. For security reasons, the following extensions have been restricted from use in the Redirects module: .AXD and .JS.

    • Link To: URL which the browser will load when the Redirect URL is entered or clicked; can either be an Absolute or Relative URL

      • For Example: /78/2017-Annual-Parade, https://www.yoursite.gov/56/Animal-Shelter, /DocumentCenter/View/415/Polling-Location-Map(PDF)

        Note: Always SSL may cause a Redirect to default to the homepage if the URL in the Link To field is not secure.

    • Retain URL: Controls whether the Link From or the Link To URL displays in the browser's address bar When enabled, if a user leaves the Redirect page to visit other pages on the site, the browser will continue to display the Link From URL in the address bar. When enabled, the Redirect Code is set to 200, which indicates a success.

    • Redirect Status: Select if this redirect is Moved Permanently or Found

      • A 301 status code means that a page has permanently moved to a new location.

      • A 302 status code means that a page has temporarily moved to a new location. This option can be used in conjunction with the Display date range option.

    • Retain Query String: Controls whether query string parameters from the From URL are appended to the To URL

      • A query string is part of a URL containing data that does not fit conveniently into a hierarchical path structure; it commonly includes fields added to a base URL by a Web browser or other client application.

    • Retain Path: Controls whether the path from the From URL is appended to the To URL

      Note: This option is used when one domain is to be replaced by another.

      • Example: A site is using both the yoursite.org and yoursite.gov domains. Users can use links with either domain, but pages can be set to display www.yoursite.gov regardless of which domain was entered. A user visiting yoursite.org/78/2017-Annual-Parade will see www.yoursite.gov/78/2017-Annual-Parade in the address bar

    • Match Query String: Controls if the Redirect will require that the query string in the link clicked by the user matches the query string in the Link To URL

      Note: If this is enabled and the Link To URL does not contain a query string, this Redirect will not work if the URL used by an end-user contains a query string.

    • Display: Used to set a specific date range for which a Redirect will be active

  6. Select a saving option at the top of the page Save changes or save and make active buttons.

    • Save Changes: Save but do not publish/make active

    • Save and Make Active: Save and make active/publish

    • Cancel: Cancel changes

Modify a Redirect

Who can use this feature?

System Administrator | Owner | Publisher

  1. Sign in to your site

  2. Navigate to Modules, click Site Tools, and select RedirectsNavigate to the redirects site tool module.

  3. Select desired domain Select a domain.

    • All Sites: Will apply the redirect to all your domains; this is the recommended option

    • By selecting a specific domain, the redirect will only be active on that domain

      Note: If you choose this route you will need to add the redirect to both the www and non-www domains (for example: www.civicplus.com and civicplus.com).

  4. Select the redirect you would like to modify Select a redirect.

  5. Modify the redirect Redirect option fields.

    • Link From: Relative URL that will be entered in the browser's address bar or used as a link

      • For Example: /Parade, /AnimalShelter, /PollingLocations

        Note: This must be a Relative URL. The Relative URL will begin with a forward slash (/). Absolute URLs will not be accepted in this field. Some Relative URLs are reserved by your site and are not available for use. Example: /DocumentCenter, /Facilities, /Permits. For security reasons, the following extensions have been restricted from use in the Redirects module: .AXD and .JS.

    • Link To: URL which the browser will load when the Redirect URL is entered or clicked; can either be an Absolute or Relative URL

      • For Example: /78/2017-Annual-Parade, https://www.yoursite.gov/56/Animal-Shelter, /DocumentCenter/View/415/Polling-Location-Map(PDF)

        Note: Always SSL may cause a Redirect to default to the homepage if the URL in the Link To field is not secure.

    • Retain URL: Controls whether the Link From or the Link To URL displays in the browser's address bar When enabled, if a user leaves the Redirect page to visit other pages on the site, the browser will continue to display the Link From URL in the address bar. When enabled, the Redirect Code is set to 200, which indicates a success.

    • Redirect Status: Select if this redirect is Moved Permanently or Found

      • A 301 status code means that a page has permanently moved to a new location.

      • A 302 status code means that a page has temporarily moved to a new location. This option can be used in conjunction with the Display date range option.

    • Retain Query String: Controls whether query string parameters from the From URL are appended to the To URL

      • A query string is part of a URL containing data that does not fit conveniently into a hierarchical path structure; it commonly includes fields added to a base URL by a Web browser or other client application.

    • Retain Path: Controls whether the path from the From URL is appended to the To URL

      Note: This option is used when one domain is to be replaced by another.

      • Example: A site is using both the yoursite.org and yoursite.gov domains. Users can use links with either domain, but pages can be set to display www.yoursite.gov regardless of which domain was entered. A user visiting yoursite.org/78/2017-Annual-Parade will see www.yoursite.gov/78/2017-Annual-Parade in the address bar

    • Match Query String: Controls if the Redirect will require that the query string in the link clicked by the user matches the query string in the Link To URL

      Note: If this is enabled and the Link To URL does not contain a query string, this Redirect will not work if the URL used by an end-user contains a query string.

    • Display: Used to set a specific date range for which a Redirect will be active

  6. Select Save ChangesSave changes button.

Delete a Redirect

Who can use this feature?

System Administrator | Owner

Important Note:

Before you can delete a redirect, you must first deactivate it.

  1. Sign in to your site

  2. Navigate to Modules, click Site Tools, and select Redirects Navigate to the redirects site tool module.

  3. Select desired domain Select a domain.

    Note: All Sites will apply the Redirect to all your domains. This is the most recommended option. If you choose an individual domain, you will need to add the redirect to the www and non-www domains such as www.civicplus.com and civicplus.com.

  4. Select Actions next to the desired Draft RedirectRedirect draft actions button.

  5. Select Actions and select DeleteActions menu, delete.

  6. Select OK when asked Are you sure you want to delete this redirect? Confirm delete pop-up, okay button.