How to Implement Perfect Redirects in cPanel for SEO

Siteground Reviews

cPanel is the universally loved application that controls most hosting. It's what users use to do things with their host. If you're confused and a first time user, that's normal, there's a lot going on. Essentially this is what the backend of a lot of cPanels looks like. Notice the Redirects option, which is where we're going to start out:

The Importance of 301 Wildcard Redirects

If you're changing domains, 99% of the time you want every page on your old domain to perfectly 301 redirect to the page on the new domain. A 301 redirect is not that scary. All it means is that it is a permanent change.

The other option is a 302 redirect, which would rarely be used, but is used sometimes. A 302 is a temporary redirect. These are important for Google to know if you care about your website pages showing up in Google search (should be everyone).

It's like if your ice cream shop moved to a new location downtown, where it's hotter and there's more people. If your location permanently moved downtown, you want people to know that  you've permanently moved. 301 redirect.

If your ice cream shop is just moving around the corner while your store is remodeling, you want people to know that you'll be at the new location just temporarily, but you'll be back. 302 redirect.

Wildcard redirects means that when you change your website name from websitelame.com to websitesuper.com that all of the old pages on your old site are going to perfectly line up with the new site. What happens if you don't do this is that all of the old pages would just go to the home page of the new site. Maybe 10% of the time, people would want this if they just wanted to give up on the old site because they were terrible writers and the pages were lame, but most of the time you'd want the old pages to go to the new one.

For example, your beautiful About Us page might have lots of sites linking to it because your picture is on there and you're so good looking. So you would want all of your fans to make sure when they follow a link to your new site that they end up on websiteawesome.com/about-us instead of just the home page.

How to 301 Redirect All Pages in cPanel

Take a look at this lovely screenshot:

Here are the important things to do:

  1. Make sure it's a permanent 301 redirect if you're changing domains for good
  2. Enter your new site, and be sure to put the http:// or https:// (if it's with an SSL). It's better to add in now if your site is at www.example.com or example.com, but not critical.
  3. Related to above, make sure you leave the “Redirect with or without www.” checked. 99% of the time you'll want this.
  4. Important! Check the “Wildcard Redirect” option. This will make sure your old pages go to your new.
  5. Then click “Add” and go test out your new site. It may take several minutes for changes to take effect.

Was this successful for you? What other questions do you have?

Last Updated on August 28, 2017 by Joe

This Tool Might Be the Best Way to Find Your Next Web Host

There’s a lot of data, comparisons, and facts to keep in your little head when comparing web hosting companies. It’s quite overwhelming.

We combed through some of our favorite hosts, broke out their features, and created this quick 2-minute quiz to recommend the best host for your current needs:

Share This Post

The Ultimate Guide to Web Hosting & Website Builders

Download our homemade guide on setting up a new website and stay updated.

More To Explore

Webflow vs Wix

Webflow and Wix, two giants vying for dominance in the website creation space. One, a champion of professional designers and agencies with its advanced tools

AI Website Builders

AI Website Builders are all the rage. This is our starting list of all the AI website builders we can find, with our proprietary editorial

Shared Hosting Rankings

We apply our editorial opinion and updated web research to create our own proprietary shared hosting rankings. Methdolology Update Frequency Update Log: Last Updated on

be sharp

Get 50% off hosting before black friday

Sign up and we’ll shoot you over our favorite deals and discounts right away.