March 14, 2008 by Vincent
Redirect WordPress Page to Another Website
You would find this useful if you want to redirect one or more of your WordPress page(s) to another website. For example, you want a link on your navigation that will fetch your visitors to your Flickr or to your forum which is located at another address.
There are two ways of doing this, using a redirect php file or by just using a meta tag.
The Use of Meta Tag
- Create a WordPress page
- In the page, insert this meta tag:
- Substitute “0” which the number of seconds you want to delay before redirecting. Substitute “http://example.com” with the URL of the website you want to redirect to
The Use of redirect.php
- Download and upload the redirect.php file by cavemonkey50 to your theme’s directory (/wp-content/themes/theme name/)
- Create a WordPress page
- Select “Redirect” as your page template.
- Add a custom field with the key “redirect” and the value being the URL of your targeted website
I personally prefer the second method, as using meta tag seems to delay the redirecting more.
Ståle Gismervik - June 20, 2008 @ 4:53 pm
Thank you!
I used redirect.php and it was exactly what I was looking for.