Last modified: November 5, 2016

delayed-redirection

We can smoothly redirect a WordPress page or post to any webpage using 301 or 302 and there are many plugins out there to help you do so. In this condition page is redirected immediately and no one can see the content of the page which is being redirected. This kind of ‘page redirect’ is considered SEO friendly. Because the content of the page that is being redirected is already shifted onto the destination page.

On the other hand, If a page whose content is indexed by Google is redirected in such a way that the redirection takes its time and the content of the page (which is being redirected) is displayed. From SEO point, it is devastating and Google not taking it well may penalize such pages or sites that use this type of redirect.

But if a page which has some ‘definite delay/lag/hold-up time’ in redirection process is set to noindex, it will be fine and not affect SEO.

Sometimes we need to tell the users before they are taken to another page why they are being redirected and in that case ‘delay time/hold-up’ becomes necessary. To this end, we use ‘delayed redirect’.

For example, there is a link which redirects a user to Product A webpage. Product A is available in United States but not available in Europe. So we have to create a ‘geo redirect’ for European users, where before redirection a page appears which tells European users that product A is not available in their area and so you are being redirected to product B website (product B, say, is an alternative to product A). After this dialogue European user is redirected to product B webpage. So now you can see that while in normal condition a ‘delayed redirect’ is harmful but sometimes it is necessary.

In WordPress, redirection can be delayed in two ways:

  1. By using redirection meta tag
  2. By using Shortcode Redirect plugin

By using Redirection meta tag

If in HTML section, we add the following meta tag, the page following the redirection rules will be redirected to the desired URL after the time set (in seconds)

<meta http-equiv=”Refresh” content=”10;url=http://www.urltoredirect.com“>

replace the red text with seconds to delay and replace blue text with the url to redirect

Here in this code, content= ‘time in seconds by which you need to hold up the redirection’ and url= ‘page which the user is being redirected to’
.
But there is one problem here. WordPress post editor, by default, does not give you any option to add header meta.

So to add header code to a specific post or page, we need to use Header and Footer Scripts plugin (by Anand Kumar). This plugin creates a content box below the post/page editor in which we can write a header code specific to a post or page.

Using Shortcode Redirect plugin

This is the easiest way to add ‘delayed redirect’. Install Shortcode Redirect plugin. Add the following shortcode to the page you want to redirect in a delayed manner:

[redirect url=’http://somesite.com‘ sec=’3‘]

Replace the colored values with your own.

About Shams

Shams, a professional blogger, has expertise in WordPress and Web Hosting. He is used to playing around with WordPress plugins, themes, web hosting services and some other innovative stuff regarding web design. He sifts out good stuff for web designers and reviews it to help them choose what they really need.

Being an energetic tech enthusiast, he regularly pens down breaking news and tutorials related to technology particularly Smartphones and other gadgets. Sometimes writes tech tips too. It was the dawn of Internet age when he started dabbling in it and has since been delving into the realm of the internet. He occupies a permanent burrow in virtual world.

He can be reached at.- here

Related Post

Increase more than 700% of Email Subscribers!
Dolor aliquet augue augue sit magnis, magna aenean aenean et! Et tempor, facilisis cursus turpis tempor odio. Diam lorem auctor sit, a a? Lundium placerat mus massa nunc habitasse, arcu, etiam pulvinar.
  We hate spam and never share your details.
Blogging and Web Design
GET IT NOW
500% MORE SUBSCRIBERS
EFFICIENCY
BOOST YOUR SALES
CREATIVITY
INSPIRE YOUR VISITORS
BE UNIQUE
CREATE UNIQUE POPUPS
Get amazing content to your mailbox
We never bother our subscribers and, we deliver what they want
Your Information will never be shared with any third party.
You are successfully subscribed to webcusp newsletter. Please check your mail and confirm your subscription.
Subscribe for Updates
We never bother our subscribers and, we deliver what they want
Your Information will never be shared with any third party.
You are successfully subscribed to webcusp newsletter. Please check your mail and confirm your subscription.
Follow us for exclusive content