How to Redirect a Page or URL in WordPress Tutorial (Step by Step)

How to Redirect a Page or URL in WordPress Tutorial (Step by Step). This article will guide you through redirecting your WordPress post and pages to different URLs.

Do you want to redirect WordPress page URLs?

A redirect channels the search engine and users from one location to a different URL. It restricts them from getting lost or landing on 404 pages.

But URL redirecting in WordPress can be overwhelming for users because of a lack of knowledge and experience. If you are changing your WordPress website and want to redirect users to a different page, you are at the right place at the right time.

We have compiled the following steps to help you do the same without facing much of an error. So let’s start with How to Redirect a Page or URL in WordPress Tutorial.

What is URL Redirection?

When we talk about redirection, we mean a mapping process through which a text or a post embeds a link, allowing the user to redirect to a new webpage.

It’s a way of communicating to your browser that another location has the URL request.

Multiple scenarios may arise where you want the user to redirect to another page. If redirection is void, then it will show 404 – page not found error, and that is neither good for your page nor for the user.

Why Might You Need to Use URL Redirect?

Some Redirects can ‌benefit your page or prevent any technical glitch. URL Redirect can help you prevent 404 Errors, help you with URL optimization and Directory changes, and even help with your SEO scores.

There are majorly five main types of redirects:

  • 301
  • 302
  • 303
  • 307
  • 308

Here in the article, we will focus on 301 Redirect as it’s the most common and can easily get the job done. Let’s check out the process required to use the WordPress Redirect.

Continue to learn more about how to Redirect a Page or URL in WordPress.

How to Redirect a WordPress Page?

The easiest and fastest way to create a redirect is using a redirection plugin tool. While many plugin tools are available, we will use the All in One SEO plugin in this article.

AIOSEO is one of the top rated WordPress SEO plugins trusted by over 3 million professionals to optimize their websites. It has a Redirect feature and multiple other features that will make your website Search engine friendly. 

Before we continue, let’s check out some of the most useful features available in AIOSEO for a Web Page owner.

  • TruSEO On Page Analysis – Easily add title tags, meta descriptions, keywords, and everything else you need for proper on page SEO optimization.
  • Rich Snippets Schema – All in One SEO Pro offers complete support for schema markup so you can get more clicks and traffic with rich snippets.
  • Local SEO – All in One SEO gives you all the tools you need to improve your local SEO and rank higher on Google Maps.
  • Video SEO Sitemaps – All in One SEO includes a video sitemap generator, so you can rank in Google’s video carousel widget and grow your traffic.

Other features like Smart XML Sitemaps, Social Media Integration, SEO Audit Checklist, SEO Custom User Roles and more come with just one plugin.

Let’s jump on to the first step of URL redirection:

1. Install All in One SEO plugin

We begin the process by downloading and installing the All in one SEO plugin. You will need a pro plan to use the redirection feature. You can choose a pro or higher plan according to your needs and the required features. All in one SEO provides four plans which provide you with various features.

Once you have completed the purchase, download and install the plugin, go to the AIOSEO general settings menu and enter the license key.

After this, click on the save changes options, and now your AIOSEO is up and running.

2. Redirection Manager

Now, navigate to All in One SEO >> Redirects in your WordPress dashboard.

A pop up will open, asking you to enable redirects on your website. Click on Activate Redirects.

Now that you have activated the redirect option click the settings tab from the Redirect menu and set PHP as the redirect method as shown below.

3. Adding a Redirection

Now go to Redirects in all on one SEO menu. You will see the Redirects screen at the top, there will be a new Redirection form.

Adding the New Redirection form will let you enter two separate URLs , Source and Target.

Source URL

In this field, you will need to enter the URL you wish to redirect from. Enter a Relative URL to redirect, or you can start by typing on the page or post title, slug, ID. You will also have the option to use regex.

Ensure that the URL you are typing in is relative, i.e., don’t include the part of your URL.

Target URL

In the target URL field, enter the URL you want to redirect to. You can put in a URL that is ‌a relative URL or an absolute URL.

You can also start by typing the title of any post, page, slug, or ID in the Target URL field. If you add a title of any post, page or slug, the matching content will display and you can select the desired one as your target.

Types of Redirection

Now, in this section, you can choose the type of redirection you want. As we described earlier, 301 redirects will usually take care of your requirements to complete the job. Here’s more detailed information about redirection:

301 Moved Permanently

If we want to redirect the old URL, that does not contain the information anymore, and the information has been moved to some other URL. It is the best option to ensure there’s no effect on your search ratings. It helps you increase your SEO results and assists you minimize the impact of broken links.

302 Found

It is a temporary redirection that helps to redirect the user to a temporary alternative, while the requested file exists at the specified location is unavailable.

303 See other

This is a replacement of 302, which prevents screen refreshing and prevents bookmarking of data. This is a more evolved and better version of 302.

307 Temporary Redirect

The redirect is ideal only when you want to redirect the old URL temporarily.

308 Permanent Redirect

This redirect is quite similar to 303 and 307 redirects, but this is a permanent redirect. It comes in handy for the programmers, but it will not be that useful as a WordPress user.

Next up, click on the Add Redirect button to add your redirect.

Since “301 Moved Permanently” is the best and will fit your requirements, select this option.

The Redirects table will mention the redirection, and a toggle will be available in the Enabled column. An option will be available to disable the redirect without deleting the same.

An option will be visible where you can see the Hits and how often the visitor uses the redirects coming to your website. You will get an option to Check Redirect, by which you can test the redirection. Delete option will also be available for you to delete the redirect.

That’s just about it.

All you need to do is follow these simple steps, and you will ‌ redirect a page or post to a new URL link on your website. We have covered the easiest way for you to use redirect on your WordPress page.

Thank you for reading the article blog about How to Redirect a Page or URL in WordPress Tutorial. We shall conclude. 

Improve your security score with our WP Cloud SAML SSO Security Plugin

  • You really should improve your WordPress site security even further with our WordPress SSO plugin.
  • Go all the way and secure your WordPress logins with WP Cloud SSO. It is a WordPress SSO Single Sign On.
  • With the security plugin you will login to WordPress (WP) using Azure AD, Azure B2C, Okta, ADFS, Keycloak, OneLogin, Salesforce, Google Apps (G Suite), Shibboleth, Ping, Auth0 and other IdPs.
  • this SAML SP (Service Provider) establishes a trust between our WordPress SSO plugin and IDP to securely authenticate and enable SSO.
  • With WordPress Single Sign On SAML plugin you will
    protect Your Website with auto redirect to IdP.
  • Can be applied in WordPress multiple Environments Support and Migration (Dev, Staging, Prod).

How to Redirect a Page or URL in WordPress Tutorial Conclusion

Redirecting a page or a URL on your website can be effective for your SEO strategy and can be used to strengthen your SERP score and result in quality organic results.

Now that you understand the effective approach to redirect a page or URL on your website, you can start with the implementation that can improve your marketing results and assist you achieve your desired business outcomes.

Ensure that you follow the steps effectively and integrate the best plugin to handle your business operations.

Why don’t you take a look at more WordPress content here

Avatar for Hitesh Jethva
Hitesh Jethva

I am a fan of open source technology and have more than 10 years of experience working with Linux and Open Source technologies. I am one of the Linux technical writers for Cloud Infrastructure Services.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x