How to Set Up a 301 Permanent or 302 Temporary Redirect Using cPanel

Whenever a WordPress user gets a 404 error, he/she decides to make a redirect to a new page. Most probably, such an action solves the issue.

But the problem occurs when non-techie people have to deal with coding. To make a redirect, you can find many tutorials, which offer a code to copy and paste in the .htaccess file.

Not everyone is familiar with such a file, that's why I have decided to create a tutorial, which uses the built-in cPanel redirect option.

As you already know, almost every web hosting company offers cPanel, even to its starter plan users, and you need to find the option to accomplish your task.

Now and then, people complain about WordPress being such a complicated platform, but when they realize the power of the community and cPanel importance, everyone seems so smooth.

In this tutorial, I am going to walk you through a few simple steps you can follow to make a 301 permanent or 302 temporary redirect from cPanel.

How Can You Start Setting Up a Redirect

Before you start, make sure you're familiar with cPanel. I understand, for newbies, dealing with multiple options can be tricky.

Don't you worry about anything, almost every web hosting provides the similar options in its cPanel. Although the layout may be different because companies try to maintain their brand design, still you can find the option you require.

Let me start the process.

Step 1:

Login to your cPanel account and search for the Domains' section. You can see the redirects icon.

How to Set Up a 301 Permanent or 302 Temporary Redirect Using cPanel

It's possible that your web hosting displays such an option under any other section, try to search it and click to open.

Step 2:

A new tab opens up on your browser, where you can see a few options to set up a redirect. If you scroll down, you can see the available redirects.

How to Set Up a 301 Permanent or 302 Temporary Redirect Using cPanel

In the first option, you have to choose the type of redirect you want to set up. As we're learning about 301 and 302 redirects, you can see these two options, pick the one you want.

Step 3:

In the second field, you have to choose the domain name from the drop-down menu. If you have multiple websites on the same server, you can see the list.

How to Set Up a 301 Permanent or 302 Temporary Redirect Using cPanel

Choose the domain.

Step 4:

There is a field having "/" to fill in the folder name if any. If you have the WordPress installation in a folder other than the public_html directory, you have to fill in the folder name. Otherwise, keep it empty.

Step 5:

This is the main box you need to use. Fill in the URL, to which you want to redirect your domain.

How to Set Up a 301 Permanent or 302 Temporary Redirect Using cPanel

You can see three different radio buttons to choose from. Depending on your need, pick any.

Note: You can also see the detail about a Wild Cart redirect, keep it empty if not sure.

Step 6:

Click on the Add button and you can see a success message on the next page.

Congrats, you have successfully set up a temporary or permanent redirect with no coding skills. The biggest fear is to deal with codes.

I remember when I had to make a few redirects because of so many 404 page not found errors. I had to put so many coding lines in the .htaccess file.

But now, cPanel has made it easier to set up a redirect.

I Hope You Can Easily Set Up a 301 Permanent or 302 Temporary Redirect

Depending on your needs, you can choose any of the options. In most of the cases, people prefer the permanent redirect over temporary.

If you're trying to test any website, you can use the 302 temporary redirect for a limited period. By following the steps, you can accomplish your goal in no time.


Most of the WordPress users try to find out a more natural way to fix an issue. As you know, millions of websites are running on WordPress, but not everyone is a techie person.

With the latest cPanel version, you get so many strong features, which don't require any coding skills. I hope you can set up a redirect when in need.

Check out these top 3 WordPress hosting services:

Was this article helpful?