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”
![](https://files.helpdocs.io/6gd4fxich5/articles/e58iz5yt5z/1671097711861/image.png)
- Select your country:
Click on nodes: - Click on redirects
![](https://files.helpdocs.io/6gd4fxich5/articles/e58iz5yt5z/1671097923499/image.png)
- Click on add redirects
![](https://files.helpdocs.io/6gd4fxich5/articles/e58iz5yt5z/1671097997302/image.png)
- Click on Add redirect content to groups both publicly and privately
![](https://files.helpdocs.io/6gd4fxich5/articles/e58iz5yt5z/1671098039535/image.png)
- 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
![](https://files.helpdocs.io/6gd4fxich5/articles/e58iz5yt5z/1671098128300/image.png)
- Click on save
* URL should be filled without any space.