Blog Menu

I write and curate content for Bluehost. I hope this blog post is helpful.
Are you looking at creating a blog, website or an online store? Bluehost has something for everyone. Get started today.

There are several reasons why you should learn how to redirect a URL on your WordPress website.

You usually need a redirect when you change your website’s domain name, move pages to a different domain, transfer an old page to a new page, or merge two websites into a new site.

In this guide, you’ll learn:

What a Redirect Is

Types of Redirects

How To Redirect a URL

Final Thoughts: How To Redirect a URL With the Bluehost Redirects Tool

What a Redirect Is

Redirects point website visitors and search engines to a web page’s new destination URL when the original URL no longer exists.

When a visitor lands on a page that does not exist anymore, they’ll see an error that will negatively affect their user experience and your search engine optimization (SEO) efforts.

The best way to use redirects is when you’re:

Types of Redirects

Learning how to redirect a URL depends on the type of redirect that you plan to do. Below are some of the most common types of redirects:

1. HTTP Redirects 

HTTP redirects are the most commonly used website redirects. 

According to W3C, an HTTP redirect provides information other than the new address, such as the redirection’s type and purpose, enabling the user to behave accordingly.

There are five types of HTTP redirects:

301 Redirects (Moved Permanently)

A 301 redirect (or a permanent redirect) indicates that a URL has been moved permanently from its original URL to a different URL.

301 redirect URLs are consolidated in Google’s index, which lets search engines know that the original content has moved. The search engine visibility associated with the page will be transferred to the new URL.

302 Redirects (Found and Moved Temporarily) 

A 302 redirect (or temporary redirect) indicates that the page has temporarily moved to a different page, and the original URL will be used again later.

Unlike 301 redirects, a 302 redirect tells search engines that the original URL will continue to rank.

The best way to use a 302 redirect is for temporary moves, such as A/B testing, location-based testing, or device-based testing.

303 Redirects (See Other) 

303 redirects are less common than 301 and 302 redirects. 303 redirects don’t link to the new uploads but another page, such as a confirmation or upload page.

For example, a 303 redirect can prevent resubmitting a form’s content, like when a user hits the back button on a browser.

307 Redirects (Moved Temporarily) 

307 redirects are similar to 302 redirects, except these don’t pass PageRank, and you should avoid them.

308 Redirects (Moved Permanently) 

308 redirects are similar to 301 redirects, but like 307 redirects, they don’t pass PageRank and should be avoided.

How to redirect a URL 301 redirects vs. 302 redirects

2. JavaScript Redirects 

JavaScript redirects empower you to redirect users to another page using a line of code, which is:


Although there is an alternate JavaScript function that you can use, the benefit of using window.location.replace() is that the current URL isn’t added to the visitor’s navigation history.

Compared to HTTP redirects, JavaScript redirects generally aren’t recommended because they’re said to be bad for SEO. They are slower than HTTP redirects because search engines still need to render the page, and there’s no guarantee that the redirect will get picked up correctly.

3. Meta Refresh Redirects 

Meta redirects (also known as HTML redirects) use a meta tag in the page’s header section to instruct the browser to go to a new page for a specified time. They are often used with a countdown timer that informs the user that the page is redirecting in a few seconds.

Meta redirects can cause poor user experience due to the processing time. You can fix this by changing the refresh time to either 0 or 1 second, so the redirect is treated as a 301 redirect.

How To Redirect a URL

  1. Using .htaccess
  2. Using a WordPress plugin
  3. Using cPanel

Knowing how to redirect a URL means learning the different ways you can do so. Each method depends on the type of redirect that you’re going to do. 

Here are three ways you can set up a redirect:

1. Using .htaccess

If you’re hosting your website on an Apache server, you can edit your website’s .htaccess file

Here’s how to how to redirect a URL using .htaccess:

  1. Create a note on Notepad with the words Redirect 301 /
  1. Save the file as .htaccess on your website’s server. Create a backup before uploading the .htaccess file.

2. Using a Plugin

You don’t need to be tech-savvy to know how to redirect a URL.

If you’re on WordPress and don’t want to edit the .htaccess file, you can use these top WordPress redirect plugins:


How to redirect a URL using the Redirection plugin

Redirection is one of the most popular WordPress redirect plugins. It helps you manage 301 redirects and track 404 errors, automatically creating redirects when a web page’s permalink changes.

301 Redirects

How to redirect a URL using 301 Redirects

301 Redirects is another highly-rated WordPress plugin. It works for 301, 302, and 307 redirects and empowers you to redirect old URLs to similar posts based on criteria such as title, categories, or tags. You also have the option to create a new custom URL.

Safe Redirect Manager

How to redirect a URL using Safe Redirect Manager

Safe Redirect Manager is a plugin favored by major publishing websites.

Unlike other plugins that store redirects in options or custom tables, Safe Redirect Manager holds them as Custom Post types, making data more portable. This makes websites more capable of handling enterprise-level traffic.

3. Using cPanel

Web hosts also enable you to create redirects using the cPanel.

Bluehost has a Redirects tool that empowers you to redirect URLs from within your web hosting account.

The following tutorial will show you how to redirect a URL from your Bluehost cPanel:

  1. Go to the Bluehost Control Panel > Domains.
  2. Next to the domain name you want to modify, click the dropdown menu next to Manage and click Redirects. You can also click Redirects in the dropdown menu under Domains.
How to redirect a URL with Bluehost’s Redirects tool
  1. You’ll be redirected to the Add Redirect page, where you can choose between a 301 or 302 redirect.

Note: When entering a URL to redirect to, don’t forget to enter http://, https://, or ftp://.

You can use one of the following www redirect options:

  • “Only redirect with www”: Redirects users who include www as part of the URL 
  • “Redirect with or without www”: Redirects all users
  • “Do not redirect www”: Won’t redirect users who include www as part of the URL

You can also choose the Wild Card Redirect option to redirect to the same page in a new destination URL.

For example, redirects to

  • With Wild Card Redirect, redirects to
  • Without Wild Card Redirect, points to
How to redirect a URL Bluehost redirect options

Final Thoughts: How To Redirect a URL With the Bluehost Redirects Tool

Knowing how to redirect a URL is a valuable skill in a website owner’s arsenal.

Whether you’re an advanced user or a beginner, there’s a perfect method for you.
Create a URL redirect from your cPanel with the Bluehost Redirects tool. Sign up for a Bluehost plan today.

  • Machielle Thomas

    Machielle is a content enthusiast who has a passion for bridging the gap between audiences and brands through impactful storytelling. Machielle has also spoken at dozens of WordCamps throughout the years.

    Texas State University
    Previous Experience
    Brand Content, Content Marketing, Brand Lead, Operations Lead, Course Instructor
    Other publications
    Shopify, Contently
Learn more about Bluehost Editorial Guidelines

Write A Comment