cyprich.com

Occasionally Relevant Insights from a Software Builder

By

How to Redirect a WordPress Page to a URL

A page in WordPress can be easily redirected to a URL without using a plugn. It just requires a little knowledge of HTML. In the Title of the page, add <a href …> code which points to the URL that you want to display.

On my blog, I created a Forums page which has the following code in the Title:

<a href=”http://forums.cyprich.com”>Forums</a>

Forums is the actual page title that will appear on the blog (see image below).

Redirecting a WordPress Page to a URL.

This is not an approved method of redirecting URL’s with WordPress and it may not work with all themes. You can include target=”_blank” if you want to open the page in a new window instead of overwriting the current window.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>