Wordpress “Page Redirect” template
Have any page in the Wordpress "Pages" list invisibly redirect to a static page or other url
Wednesday, February 20th, 2008
The very nature of Wordpress demands that you work within it's infrastructure in order to maintain flexibility. Sometimes, though, the structure of your pages demand that you need to operate outside of this constraint.
This template lets you specify a single URL as the page content, then as the page loads, the template automatically redirects the page to this new location.
Usage
Once you've uploaded the template-redirect.php file to your themes directory...
1 - Create a new Page in your Wordpress control panel
2 - In the Page Content panel, just enter the URL (or local path) you want to redirect to:

3 - Set the Page Template dropdown to "Page Redirect":

That's it!
Examples
Examples of URLS might be:
- category/flowers (a relative link to the permalink for "flowers")
- ../page.html (a page outside of a Wordpress subfolder (the WP folder being /blog/) but still in your site)
- http://www.davestewart.co.uk/resources/ (a page on a completely different site)
The "Latest developmentsā¦" page in my sidebar automatically redirects to /category/development/ - or in other words, the archive for my "Development" category, as my home page is not the standard "last-post first" format.