WordPress: Create simple 301 redirects with a plugin

At the weekend I reduced my categories on this blog a little to create a clear structure. So far I have created the categories according to my mood. I have renamed the two main categories from Plugin Reviews and Theme Development to WordPress Plugins and Theme Development .

Both categories are now linked directly in the header of the blog.

Since the slugs also changed, I needed a redirect to the new URLs. Usually I always do this with a few redirect instructions in the .htaccess . My hoster Raidboxes uses an Nginx web server and therefore does not support .htaccess instructions, which means that the conventional approach fell flat.

Therefore, a simple plugin now takes over the forwarding.

Simple 301 redirects

Simple 301 Redirects is also recommended by Raidboxes and can be downloaded from the WordPress plugin directory.

In the German directory, the translated name of the plugin is Simple 301 redirects . For me personally, plugins are like products whose names shouldn't be translated. Find it rather confusing. But that shouldn't be the subject of this article.

Simple 301 Redirects provides an easy way to redirect requests to another page on your website or anywhere else on the internet.

By: Scott Nellé

( 147 )
Last updated: 2 years ago
300,000+ active installs
Compatible up to: 5.1.8

As the name of the plugin suggests, redirects can be created with the HTTP status code 301 (Moved Permanently). This informs the Google Bot in particular that the URL has been permanently changed. The ranking is almost taken over for the new URL, which is why a 301 redirect should be used from an SEO perspective.

Create permanent 301 redirects

The options of the plugin are available under Settings → 301 Redirects in the WordPress backend.

Any number of forwardings can be created in the simple interface by simply entering the request (source) and destination (target).

The relative URL without domain must be entered as the request. Relative URLs for internal redirects within the website, but also absolute URLs to other domains can be used as destinations.

Use wildcards in 301 redirects

The use of wildcards can be activated as an additional option. A wildcard is a placeholder for any fragment in the URL request. As usual, the wildcard is implemented with an asterisk symbol (*).

This also enables dynamic forwarding of URLs. This is useful, for example, if you have changed the category base from / category to / topic in the permalinks settings.

With the help of wildcards, you can now forward all categories with just one instruction, instead of having to create a static forwarding for each category:

Request: / category / *
Destination: / topic / *

With the wildcard, the entire URL request after the part / category / is included in the target URL.

Conclusion

Simple 301 Redirects is a very simple plugin that optimally fulfills its purpose without bloated options. It is suitable for every WordPress user for whom .htaccess is generally not available or who does not want to create complicated redirect rules himself.