Menu icon
RedCrackle
Menu icon
Services
01Design Transformation
About UsCase StudiesBlogContact Us

<

Blog post

How to add 301 and 302 URL redirects in Drupal?

Neerav Mehta

Founder & CEO

In this article, you will be learning how to add 301 and 302 redirects in Drupal. The 301 redirect lets search engines know that the page is removed permanently, while the 302 lets them know the page is removed temporarily. Both of them send the user and search engine to a different URL.

The only pre-requisite for this is that you must have admin rights.

First, we need to install the redirect module.

Installing Redirect Module

  1. Start by clicking on Extend and then on + Install new module.
Installing Redirect Module
  1. Paste this URL in the box: https://ftp.drupal.org/files/projects/redirect-8.x-1.5.tar.gz. Proceed by clicking on Install.
Installing Redirect Module
  1. After the module installs you will see this message. Proceed by clicking on Enable newly added modules.
Installing Redirect Module
  1. Search for redirect in the search box. Check the box beside Redirect and click on Install.
Installing Redirect Module
  1. You will have successfully installed the Redirect module.

Adding 301 and 302 redirects

  1. Go to Configuration and proceed by clicking on URL redirects under Search And Metadata.
Installing Redirect Module
  1. Click on + Add redirect.
Installing Redirect Module
  1. Enter your old URL in the Path box, and the new URL in the To box. Select either 301 or 302 redirect from the Redirect status drop-down menu. We are choosing 301.
Installing Redirect Module
  1. Proceed by clicking on Save.
Installing Redirect Module
  1. Your redirect will be saved.
Installing Redirect Module
  1. Now search for your-site/old-url, but replace your-site with the name of your website. You will be redirected to the newly set URL.
Installing Redirect Module
Neerav Mehta

Neerav Mehta

Founder & CEO

Neerav Mehta is the Founder & CEO of Red Crackle. With sterling qualities, Neerav’s technological acumen is firing a generation of progressive companies on the digital path. With an undergraduate degree in Electrical Engineering from India's most prestigious institution IIT Bombay and having spent seven years developing and contributing to the launch of AMD's innovative line of computer products, Neerav founded Red Crackle where he is lauded for his dynamic and innovative genius.

View all posts

>

Read Next

10 Ways To Increase Productivity At Work

10 Ways To Increase Productivity At Work

Learn more

11 Project Management Tips For New Managers

11 Project Management Tips For New Managers

Learn more

30 best WordPress widgets for your site

30 best WordPress widgets for your site

Learn more

Let’s get you started!

Contact Us

>

RedCrackle

Explore

About Us

Services

Contact Us

Our address

5346 Gerine Blossom Dr,

San Jose, CA 95123

USA

Socials

Twitter
LinkedIn

© 2026 RedCrackle. All rights reserved.