Page Links To
About
Page Links To is a plugin that allows you to make certain WordPress pages or posts link to a URI of your choosing, instead of their WordPress page or post URI. It also will redirect people who go to the old (or “normal”) URI to the new one, using a redirect style of your choosing (302 Moved Temporarily is standard, but you can enable 301 Moved Permanently redirects i f you wish.)
For instance, say you have a photo gallery installed, but can’t be bothered to integrate it into WordPress. You’ll still probably want to have a link to it from your WordPress blog. With this plugin you can create a new page called “Photos,” and give it a Custom Field links_to with the value being the URI to your photo gallery. “Photos” will show up when you use wp_list_pages();, but instead of linking to the (blank) “Photos” page, it will link you your photo gallery!
Another usage scenario is that you have content that was on a post, and want to move it to a page. You could redirect the post to the new page. And if you use a 301 redirect, search engines will eventually “find” the new location and change their links.
This plugin uses only two simple MySQL queries, no matter how many total pages or links_to enabled pages you have, so you don’t have to worry about scalability.
Usage
To redirect a page or a post, scroll down to the “Custom Fields” section on the edit screen for that entry and enter in a key of links_to with the value being the full URI you want to redirect to. If you want this to be a permanent move, you can additionally add a meta key of links_to_type with a value of “301″ (without the quotes). After saving the entry, the redirect will be active!
New in version 1.3: Now you can create a links_to_target meta key, and provide the target you would like for the link (like _new, to open the link in a new window). The target you choose will be used in wp_list_pages().
Download
Instructions
- Upgrade to WordPress 1.5.1.3 or higher (WordPress 2.0 required for tab highlighting feature)
- Upload
page-links-to.phpto your/wp-content/plugins/directory - Activate the “Page Links To” plugin in your WordPress administration interface
- Create (or edit) a page to have a title of your choosing, and a parent page of your choosing (leave the content blank)
- Down below, add a meta key of “links_to” (without the quotes) and give a full URI as its value
That’s it! Now, that page will link to the “links_to” URI instead of its WordPress page URI.
Possible Uses
- Linking to an on-site non-WordPress resource (e.g. photo gallery)
- Linking to an off-site resource (e.g. Flickr or del.icio.us page)
- Placing a link to a 2nd, 3rd, or nth level page on the top level (i.e. you might have
/archives/tags/, but want “tags” to show up on the top level) - Adding a link to your blog’s front page without having to modify your template and hack it in manually
Leave any bug reports or feature suggestions here in the comments.
Versions
- 1.4 Fixes to tab highlighting
- 1.3 You can now specify a link target via
links_to_target, tab highlighting moved to WordPress 2.0 style - 1.2 If you link to an internal WordPress page, like a category, the menu item will get the
current_itemCSS class when you’re on that page - 1.1 Posts can have redirects, can specify redirect type (301/302),
get_permalink()is filtered for posts. - 1.0 Initial public release.


Using links_to in 2.5 not the same as in 2.2
I just upgraded one of my sites from version 2.2 of Wordpress to 2.5 and am confused. I wrote a page and wanted to use my Netflix RSS on that page, I went down the extra features, saw the drop down for links_to and pasted the RSS link in, previewed the page and nothing. Went into my Plugin settings, activated v1.4 of links_to and previewed the page and it worked.
1st question, is links_to built into 2.5 or not and if so why so I have to use v1.4 of the plugin to get it to work?
2nd question, when I display that page, I get a new window of my Netflix queue, did this with a few other sites and the same thing.
How do I embed the linked site so that’s it’s displayed within my wordpress and the user doesn’t end up on another site?
FYI, I do have Netflix working as an RSS Widget, but I would prefer to have it as a page so that there are descriptions etc.
Miguel
Brilliant plugin. It’s saved me so much time
Hi Mark,
Your plugin is really great, but could you PLEASE say something about it working with Wordpress 2.5? (it doesn’t right now)
Are you planning on an update soon?
Cheers,
Diego
http://www.secretia.com
Hello,
i have installed your plugin with WP 2.5 and it doesn’t seem to be working
Does aynone know about an alternative to this plugin or if it’s going to get updated ?
Thanks for your work !
album downloadable hip hop mp3 music
audio download song
artist download mp3 music soundtrack