How to set-up a redirect in Drupal?
Why?
- You have just migrated and you have forgotten some URL during the migration.
- You have decided to modify your website structure and you don't want to lose your ranking in Google.
How?
- Select your country by clicking on “Find and manage group types and group settings”
- Select your country:Click on nodes:
- Click on redirects
- Click on add redirects
- Click on Add redirect content to groups both publicly and privately
- Fill the different fields below:
- From: fill the origin url with the https for example https://www.sdworx.co.uk/starting or https://www.sdworx.co.uk/en-gb/starting*
- To: Fill the destination url with the https. It can also be external URLs*
- Select Redirect Status:
- 301 moved permanently: For a redirect linked to structural changes
- 302 : For a redirect linked to a campaign
- Click on save
* URL should be filled without any space.