Search The Hostwinds Guides Knowledge Base

How to create a 301 redirect in wordpress

Share This Article [TheChamp-Sharing]

Managing a site sometimes requires a post or page to be moved or trashed. In this case there are a few redirects you can do to keep your pages from showing the dreaded 404. The main way for permanent redirect is with a 301. If the redirect is just temporary you can use a 302. This guide will go over setting a permanent redirect.

Use a Redirect Plugin

The easiest way to manage this is with a Redirect plugin. Once you are logged into your Admin page, just follow these steps:

  1. Go to your plugins and search for Redirect
  2. Find a plugin that you want to use
  3. Install the plugin

You can follow our full plugin installation guide here.

Then after you have the plugin installed you need to activate it.

  1. Select installed plugins
  2. Find your plugin that you installed
  3. Click the activate button

Once you have the plugin you wish to use you are now ready to go and start managing your redirections. You can do this from the Tools category of the WordPress admin area, then select Redirection.

From here you can begin to assign specific pages or posts to be redirected to other pages or posts. Each plugin has its own set up and unique features on how they accomplish this, so it is important to read the documentation from the plugin author. 

Alternative Solutions

Another way is to manually make the 301 redirects by editing your .htaccess file. This is more complicated and involved so we have a guide on how to do this here if you are interested and would prefer to not use a plugin.