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

Share on facebook
Share on linkedin
Share on twitter
Share on email

The Ultimate Guide to Web Hosting & Website Builders

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

More To Explore

Uncategorized

Tesla Optimus Robot Stats, Facts & Quotes

Top Quotes about Tesla Optimus Robot Q4 2021 Earnings Call “I think actually the most important product development we’re doing this year is actually the

Infographic

10 Best Data Visualization Tools

In modern business, data visualization tools can help visualize all the data generated by business processes and create dashboards to keep track of pretty much

bill-com home page
Business Software

Bill.com Review – I Don’t Get It

I don’t really get Bill.com. Does it suck, or is it actually amazing? On the one hand, I love that it’s a free and super

no code is like legos
Build a Website

The Best No Code Tools of 2022

If you want to develop your own applications, then today is the best day to start. Compared to ten years ago, it’s hard for independent

be sharp

Get 50% off hosting before black friday

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