Redirection in WordPress

There are several ways to accomplish a URL Redirection in WordPress. If you are on Apache, you may either directtly use the server configuration file, namely, httpd.conf or the .htaccess file present in the WordPress site root directory. You can accomplish HTTP Redirects with the help of mod_alias Apache module and by using directives like Redirect, Rewrite and combining them with regex. Likewise, if you are on Nginx, you can accomplish any HTTP Redirection using directives like Rewrite, return and try_files and also combining them with regular expressions, if necessary. These directives will go into the Nginx server configuration file.

But URL Redirection or HTTP Redirection in WordPress can also be accomplished easily using SEO plugins like Platinum SEO WordPress plugin or the more popular Redirections plugin. But Redirections plugin might be too overwhelming for many WordPress users as many such plugins also let you use Regular Expressions to specify your HTTP Redirects. This might not be easy for non-programmers and there is always the risk of making mistakes in using Regex rules. Platinum SEO WordPress Plugin avoids using Regex and makes it simple for its users to accomplish any Redirection with simple one-to-one HTTP Redirect rules. These would suffice for most WordPress users to accomplish any Redirection. You can even redirect multiple Source URLs to a single Destination URL using this WordPress Plugin. If you are comfortable using Regex and is sure of what the regex rules will do, you may directly use the Apache or Nginx server configuration files to add the Rewrite rules. Here we will describe how to use Platinum SEO WordPress Plugin to configure Redirections in WordPress.

HTTP Redirection in WordPress

To enable HTTP Redirects in Platinum SEO, navigate to Platinum SEO and Social Pack -> SEO -> Permalinks.


You can find the following Settings under the section Redirection:


Turn on “Redirection” to enable HTTP redirect functionality in Platinum SEO WordPress Plugin. You are also recommended to turn on “Automatically Redirect Posts” in WordPress.

When you choose to log any Redirection created using this plugin, to ascertain whether it is working properly, you may limit the logging by specifiying a fixed number of rows as the maximum limit in the Redirections Log. It is recommended to use the Redirection Log for the purpose of debugging one or more redirections only. If you are satisfied that the redirection works, turn off the logging. It is also recommeded to limit the log size. Otherwise, the log file might quickly grow in size on websites with high traffic. To limit the log size, specify a number, say 1000 Rows, against the setting “Limit Redirection Log to”. Logging can be enabled for any Redirection in the “Redirections” Manager. You may find how to use “Redirections” Manager in the sections below.

What is automatic HTTP Redirection and How does it work in Platinum SEO WordPress Plugin?

When “Automatically Redirect Posts” is enabled in Platinum SEO Settings, the plugin automatically redirects a URL on the WordPress Website to the more appropriate Page, in certain situations. For example, this is useful when the Permalink Structure has been changed in your wordPress Site. This is also useful when you change the URL Schema from HTTP to HTTPS. In either of these cases, the plugin ensures redirection to the more appropriate URL that is currently active.

When you change the Page Name or slug, WordPress automatically takes care to redirect the old Permalink to the URL with the latest Page Name or Slug. Thus, any change in Permalink Structure or Slug name in WordPress is automatically taken care of. All these automatic HTTP Redirects are done using the HTTP Status Code 301. Now let us see how ro create Redirections and manage them using Platinum SEO.

Before trying to understand how to create a HTTP Redirect in Platinum SEO, let us see when does the need to Redirect arise in WordPress. We just saw how Automatic Redirection takes care of the following in WordPress.

1) When a Permalink Structure is changed, a Post belonging to any post type is automatically redirected to the currently active Permalink for the Post.

2) When you migrate from HTTP to HTTPS, all the Posts (of any Post Type) are automatically redirected to the HTTPS version of the Permalink using the HTTP Status Code “301 Moved Permanently”.

3) When the Post Name or Slug is changed, the Permalink with the Old Post Name or Slug is automatically redirected to the currently active Permalink for the Post in WordPress. This is done by WordPress core.

In each of the above case, if you prefer to use a HTTP Status Code other than 301, say 302 Status Code, for one or more redirections, you can manually configure the HTTP Redirection in Platinum SEO. This will override the Automatic Redirection that always uses the 301 Status Code.

There are other instances where you might want to configre a redirection. The following are some examples but they are not all inclusive.

How to do HTTP Redirections in WordPress using Platinum SEO Plugin

When you want to create a Redirection for any Post or Page or Taxonomy, you can do so through “Redirect Settings” in the Advanced tab of “Techblissonline Platinum SEO and Social Meta Box”.

Fill in the “Redirect To” URL and choose the appropriate HTTP Redirect Status Code in the dropdown against “Redirection Method”. Then save the Post or Taxonomy to save the Redirection Settings.

Create Redirections for one or more WordPress Posts using Platinum SEO Redirections Manager

When you want to Redirect one or more Posts or Pages to another relevant Post or Page on the same or another Domain, you can configure the same in Platinum SEO WordPress Plugin. Navigate to Platinum SEO and Social Pack -> Redirections. You will find the following screen.


If you had created HTTP Redirects for one or more Posts through the “Redirect Settings” in the Advanced tab of “Techblissonline Platinum SEO and Social Meta Box”, you will find all such Redirections listed in the table, by default, in the “Redirections” Manager. You can also filter the Posts (of any Post Type) by using a keyword or keyphrase used in the “Post Name” or “Slug” as shown below. You can filter them using filters like Posts(Post Names) “that contains”, “Equal To”, “Start with” or “End With”. All the Posts that satisfy the filter criteria get listed.

To create Redirections, select the Posts you want to HTTP Redirect, by clicking the checkbox against them, and select “Edit” in the “Bulk Actions” dropdown.
Next, specify the URL (Permalink) of the Post to which you want to redirect in the “Redirect To” textbox and then choose one of the HTTP Redirect Status Codes in the dropdown against “Redirection Method”. Finally, click the “Update” button to save the Redirections.

Delete or Disable Redirections for one or more Posts in WordPress using Platinum SEO Plugin

If you want to delete a Redirection created using the Platinum SEO plugin, you may choose the Post Redirections you want to delete and Select “Delete Permanently” in the “Bulk Actions” dropdown. Finally, click the Delete button. The redirections configured for the selected Posts get Deleted.

If you want to Disable one or more Redirections and do not want to Delete them, you may select the Posts, select “Edit” in the “Bulk Actions” dropdown and set the “Redirection Method” to the default value i.e. “Select a redirection method”.

Create Redirection for any Dead URL in WordPress using Platinum SEO

When a third party Website or blog links to a Page that no longer exists on your Website and you have another relevant Page for the anchor text, then you can redirect the linked URL to the URL of the Page that currently exists and is more relevant to receive such link juice or credit from that anchor text. You may even redirect one or more such third party URLs to the destination Page, if its content is relevant for the Anchor Texts used.

The best method to create HTTP Redirect for any such Dead URL is the 404 Manager in Platinum SEO plugin. This is because, you come to know of a Dead URL through the Platinum SEO 404 Manager, if it is enabled. Alternatively, you can also create HTTP Redirections using the “Redirections” Manager. Here is how you create one for a dead or broken URL. A dead URL or Broken URL is one which does not have any content and returns a 404 Error.


In the Redirections Manager, select “Redirected URLs” and “All” (or any other filter that your situation warrants) and hit Search. Next, Select “Add New” in the “Bulk Actions” dropdown. Enter the Source URI or URL and a Destination URL to redirect to. Select an appropriate HTTP Status Code as Redirection Method. If you like to test this redirection, you may choose to “Log Redirect”. You may otherwise choose “Do not Log”. Finally click “Add New” button to create the redirection from the Source URL to the Destination URL. It isn’t necessary to “Log Redirect” and it is only an option to debug the redirection, if needed. The destination URL may even be pointing to another domain, if your situation warrants it.

Edit Redirection for any Dead URL in WordPress using Platinum SEO

To enable logging for any HTTP Redirection set up already, select “Redirected URLs” and “All” (or any other filter) and hit Search. Select one or more URL Redirections that you like to log, select “Edit” in the “Bulk Actions” dropdown and choose “Log Redirect”. Finally click the “Update” button. You may also choose to update the Destination URL (Redirect To) or the Redirection Method (HTTP Status Code) by entering appropriate Destination URL in the “Redirect To” field and tselecting and appropriate HTTP Status Code in “Redirection Method”, for the selected URL Redirections.


To Delete one or more URL Redirections, select them and choose “Delete Permanently” in the “Bulk Actions” dropdown and click the “Delete” button.

Delete Redirections Log in Platinum SEO Plugin

To Delete “Redirections Log”, choose “Redirections Log”, “All” (or any other filter that is applied to the source URL) and click the “Search” button. From the resulting “Redirections Log” table, select one or more log entries and click the “Delete” button.


You can also Delete the entire Redirections Log by choosing “Delete All” in the “Bulk Actions” dropdown and clicking the “Delete” button.

HTTP Status Codes for Redirection in WordPress using Platinum SEO

You may use any one of the following HTTP Redirection Status Codes for all the above HTTP Redirects.

  1. 301 Status Code
  2. 302 Status Code
  3. 307 Status Code
  4. 308 Status Code

Leave a Reply

Your email address will not be published. Required fields are marked *