This article will show you how to modify a Redirect.
Instructions
- Navigate to Modules > Site Tools > Redirects
- Select desired domain
- All Sites: By selecting this option, you will apply the Redirect to all your domains; this is the most recommended option
- By selecting an actual domain, the redirect will only be active for that domain
- Note: If you choose this route you will need to add the redirect to the www and non-www domain - e.g. www.civicplus.com and civicplus.com.
- Select the redirect you would like to modify
- Modify the redirect
- 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.
- Note: Some Relative URLs are reserved by your site and are not available for use.
- For Example: /DocumentCenter, /Facilities, /Permits
- Note: For security reasons, the following extensions have been restricted from use in the Redirects module: .AXD and .JS.
- For Example: /Parade, /AnimalShelter, /PollingLocations
- 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.
- For Example: /78/2017-Annual-Parade, https://www.yoursite.gov/56/Animal-Shelter, /DocumentCenter/View/415/Polling-Location-Map(PDF)
- Retain URL: Controls whether the Link From or the Link To URL displays in the browser's address bar
- Note: 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.
- Note: When enabled, the Redirect Code is set to 200, which indicates 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 the 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
- Note: This option is used when one domain is to be replaced by another.
- Match Query String: Controls if the Redirect will require that the query string in the link clicked by the user match 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
- Link From: Relative URL that will be entered in the browser's address bar or used as a link
- Scroll up and select Save Changes
Feedback About the Article
Let us know what was helpful or not helpful about the article below.1 comment
In step 4, a note states: 'Note: 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.' I don't believe this is correct. It should instead say 'Note: When enabled, if a user navigates to a page using the Redirect , the browser will continue to display the Link From URL in the address bar.'
Please sign in to leave a comment.