Do you want to know how and when to add 307 temporary redirect in WordPress?
When you delete a page, it’s important that you set up a proper redirection method. Otherwise, people will still be able to find the deleted page and land on it, which hurts user experience and SEO.
In this post, we’ll show you how to set up 307 temporary redirect on your WordPress website without any fuss.
So let’s dig in.
Here are some quick links to what we’ll cover in this article. If you’re in a hurry, you can jump directly to the section you want to read.
- What is an HTTP 307 Temporary Redirect?
- When to Use 307 Temporary Redirect?
- Easily Add 307 Redirects in WordPress
What Is an HTTP 307 Temporary Redirect?
307 Temporary Redirect indicates that the requested page is temporarily available on another location When this status is generated, the requested content is served from the new temporary location.
When 307 redirection is enabled, search engines get to know that the redirection is temporary which helps you keep the ranking intact.
When to Use 307 Temporary Redirect
A common way of using 307 temporary redirect is when your site is undergoing maintenance. By setting up 307 redirect, you can temporarily redirect users to another resource on your website.
Another great way of using the redirect is when you are updating seasonal campaign pages. While you’re updating those pages, you can set up a 307 temporary redirect to send the visitors coming from the search engine to a related page.
Easily Set Up 307 Redirects in WordPress
You can easily configure 307 redirect to your WordPress websites with the AIOSEO plugin.
With the plugin, you can set up several types of redirects, including:
- 301 Moved Permanently
- 302 Found
- 303 See Other
- 304 Not Modified
- 307 Temporary Redirect
- 308 Permanent Redirect
The redirect setup is pretty simple… You just need to carry out a few steps, and you’re done.
Now let’s see how to add 307 temporary redirect to your WordPress website with the AIOSEO plugin.
1. Install AIOSEO Plugin
First things first, install and activate the AIOSEO plugin on your WordPress website. For more details, see the WPBeginner guide on properly installing and setting up a WordPress plugin.
2. Enable Redirect on Your Website
Once installed and activated the plugin, navigate to All in One SEO » Redirects.
Note: You need to use at least the PRO version to enable the Redirection Manager.
Next, enable redirection by clicking Activate Redirects.
You can now go to the Redirect screen. Here you need to Add a New Redirection by filling out the three main components:
- Source URL
- Target URL
- Redirect Type
Source URL
You need to add the URL you want to redirect from. Note that the URL you’re adding should not include the domain name.
For example, if the URL is https://example.com/my-source-page, you only need to add /my-source-page/
See this example:
Target URL
In the Target URL field, enter the URL you want the visitors to visit instead of the Source URL. This requires the same input without the domain (see above for the example).
Redirect Type
AlOSEO comes with multiple redirection options, including the 307 Temporary Redirect.
Select 307 Temporary Redirect from the dropdown menu.
Add Redirect
Once done with your selection, simply click Add Redirect.
Once added, the redirection will be visible in the table on the same screen, where you can easily manage all your redirects.
This is an excellent way of checking out how many visitors Hits the Source URL and navigated to the Target URL.
Checking The Redirects
AIOSEO lets you easily check whether the redirect(s) you have set up is working.
For this check, all you need to do is to hover the mouse pointer over the Source URL and click Check Redirect.
Importing and Exporting Redirects
AIOSEO is the best SEO plugin for a reason; it offers exciting features that add significant value to your SEO initiatives.
A popular option of the plugin is importing and exporting redirects from AIOSEO to other SEO plugins.
For more details, see our guide on how to easily import and export redirects in WordPress.
Now that you know how to set up a redirect, it’s time to go into the details of some advanced settings::
- Redirect Methods — whether to set up the redirect at the code level or server level.
- Logs — to keep a record of the redirect requests.
- IP Logging — whether full or partial logging of IP addresses is needed that access your website.
- Automatic Redirects — to set up automatic redirects for posts and pages.
- HTTP Cache Header — to enable HTTP cache header.
- Redirect Defaults — set up default option for redirect requests.
That’s all!
We hope with the help of the AIOSEO plugin, you can easily set up 307 Temporary Redirect. You can go ahead and check out the AIOSEO redirects feature and share your experience with us.
You may also want to check out our post on how to set up bulk 301 redirects in WordPress and how to easily find and fix 404 errors.
What’re you waiting for? Get started with the most powerful WordPress AIOSEO plugin today.