Page Links To
This plugin allows you to make a WordPress page or post link to a URL of your choosing, instead of its WordPress page or post URL. It also will redirect people who go to the old (or “normal”) URL to the new one you’ve chosen (301 Moved Permanently redirects are standard, but you can choose a 302 Moved Temporarily redirect if you wish).
This functionality is useful for setting up navigational links to non-WordPress sections of your site or to off-site resources.
You can also use it to create a hand-crafted menu that links to pages, posts, categories, or anything within your site.
Download
Latest version: Download Page Links To v2.3 [zip]
This plugin has been downloaded 243257 times.
Installation
-
Upload the
page-links-tofolder to your/wp-content/plugins/directory -
Activate the “Page Links To” plugin in your WordPress administration interface
-
Create (or edit) a page or a post to have a title of your choosing (leave the content blank)
-
Down below, in the advanced section, find the Page Links To widget and add a URL of your choosing
-
Optionally check the boxes to enable link opening in a new browser window, or
302 Moved Temporarilyredirects -
Save the post or page
-
Done! Now that post or page will point to the URL that you chose
FAQ
Q. How do I make it so that a page doesn’t link to anything? I’d like to use it as a dummy container.
A. Just use “#” at the link. That won’t go anywhere.
Q. Can this be used to repoint categories to an arbitrary URL?
A. Not at this time. I’m considering it as a future feature.
Q. My links are sending me to http://myblog.com/www.site-i-wanted-to-link-to.com … why?
A. If you want to link to a full URL, you must include the http:// portion.
Q. Can I link to relative URLs?
A. Yes. Linking to /my-photos.php is a good idea, as it’ll still work if you move your site to a different domain.
Changelog
2.3
- Fixed a bug with current menu item highlighting
2.2
- Cleanup
- compatibility tweaks to interoperate with a few other plugins
- prompt http:// and auto-add it if a URL starts with “www.”
2.1
- WordPress MU compatibility for when
switch_to_blog()is used… it now uses$blog_idto keep their caches from stomping on each other
2.0
- Allow one-character URLs so that things like “#” (dummy link) are possible
1.9
- Fixed “open in new window” functionality


thanks for the GREAT post! Very useful…
hii
This plugin does work with WordPress 2.3, but you need to create a blank page (with your chosen title, and no content), publish it, and then edit it to add the links_to tag. Just a heads-up.
Otherwise, it works perfectly and is proving to be very useful, so thanks for making it!
[...] Jul. 24, 2006 I really adore UTW when combined with ELA. The Page Links To plug-in is quite nice as well, and comes in handy in many instances where you want to have a [...]
[...] 10. Page link manager – Gives you option in the edit page to show / hide pages from navigation. 11. Page links to – To redirect pages. 12. Subscribe remind – Adds a reminder after each post asking your readers to [...]
http://www.google.com
http://www.yahoo.com
http://www.msn.com
Nice work, but i still am unable to get subscribe to comments to work
http://dzrbenson.com/blog/
I’ve followed every direction given here (including creating a blank page and going back to edit it), but still, when I click the “store” link on my nav bar, the address that appears in the new tab is
“my website address”"my store address”. How do I get only the store address to register? What am I doing wrong? thanks…
WP-PostRatings Widget v1.20 Adds a PostRatings Widget to display most rated and/or highest rated posts and/or pages on your sidebar. You will need to activate WP-PostRatings first.Lester ‘GaMerZ’ ChanPage Links Tov1.4 Allows you to set a “links_to” meta key with a URI value that will be be used when listing WP pages. Good for setting up navigational links to non-WP sections of yourMark Jaquith Subscribe To Comments
<a href=http://gro
- Twitter Tools is a WordPress plugin that creates an integration between your WordPress blog and your Twitter account. Pull your tweets into your blog and create new tweets on blog posts and from within WordPress.Tempus Fugit WordPress Plugin- 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. WordPress Plugins: Change Thumbnail creation size wordpress plugin
Hi Mark,
It seems that your permanent 301 redirects are broken in 2.3.2. Just thought I’d drop you a line to let you know!
The non-permanent redirect works though.
Thanks for the great plugin!
Regards,
David
Im using this ona few blogs, works great – but on one of my blogs its not working at all.
WordPress database error: [Column 'post_id' in field list is ambiguous]
(…)
What can be the issue?
Thanks
I’m confused. I installed the plugin. Created a new page. Opened it up to edit it.
Now what?
Where exactly do I add the link to? What exaclty do I type?Can someone just type it out for me? I’m a newbie!
[...] Page Links To [...]
hello….help me…previous when i using wordpress 2.1 ..ur plugin works like charm…but when i manually upgrade to 2.3.2 .. it no longer function. or i have wrongly upgrade the version..help me.. when i add the value…the value is not there
James,
On the Edit Page screen doesn´t appear the Custom Fields section with the options “links_to”. What could be the problem?
Thanks.
[...] Kudos to Mr/Mrs. ‘Page-links-to’ person… Page Links To site [...]
Thanks for the plugin
Adham from Egypt
Thanks a lot for great code. I’m ready to make a donation for you, but Paypal is not support fully to our country. I’ll find a way.
Many thanks
[...] Page links to – பகà¯à®•à®™à¯à®•ளை வேற௠தளஙà¯à®•ளà¯à®•à¯à®•௠[...]
Hi
Thanks for this plugin….
Shoban
Hi Mark,
It appears that the “links_to” has disappeared from the custom field as a dropdown. I have the same problem as Alexander.
Regards,
David
Great tool, thank you! I was quite annoyed when I found out WordPress can’t do this natively. I did a little research, stumbled upon your plugin, and walah! Thank you very much!
Matthew Lindahl
http://www.atmatthew.com
Any chance that this plugin will be updated? It’s not working for 2.3.3., it seems to disappear when I attempt to create a new page, and the new page won’t be created at all.
[...] więc cieżko to będzie zrobić bez pomocy odpowiedniej wtyczki. Chodzi dokładnie o plugin Page Links To, który w prosty sposób załatwia nasz [...]
[...] Page Links To Plugin: Artikel- oder Seitenlinks auf externe Seiten führen lassen [...]
DoFollow Exec-PHP FeedBurner FeedSmith Google (XML) Sitemaps Head META Description MBLA Most Commented No Self Pings Optimal Title Organize Series Plugin Post TeaserPage Links ToPlugins Used Plugin reBlog Subscribe To Comments Sidebar Widgets Smart Unread Comments Show Top Commentators TanTanNoodles Simple Spam Filter WordPress PDA WP_PingPreserver
Thanks so much for creating this plug in.
php code in their posts/pages, and the php code will be executed there, and the output will be displayed. Use “<exec>…</exec>” or “[exec]…[/exec] “(case sensitive) to quote what you want to execute.Page Links To 1.4» Mark Jaquith (url) Allows you to set a “links_to” meta key with a URI value that will be be used when listing WP pages. Good for setting up navigational links to non-WP sections of your
Cool, Thanks
Dale
http://dzrbenson.com/blog/
[...] trzeba Bo narazie jest to w WP czasmi kiepsko zrobione.Przydaæ sie moze tez plugin Page Links To http://txfx.net/code/wordpress/page-links-to/Bo mo¿na nim sprytnie dodac do menu dowolny LINK a to czasmi mo¿e sie przydaæ Ultimate Tag Warrior [...]
[...] Turn Page into Link for WordPress (tags: wordpress cms plugins) [...]
rosie@triad29.com
rosieponder@verizon.net
Not only do they try to rip you off, they send your email out and you get a ton of junk mail.
does anyone know how to fix page links to in new wordpress version. The link is not working.. Missing variables
[...] geht mit folgendem Plugin: http://txfx.net/code/wordpress/page-links-to/ Aber wie gesagt: Das hier ist eigentlich das falsche Forum. Denn hier bei WordPress.com gibt es [...]
an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. byMark JaquithTinyMCE Advanced – I’ve posted a lot about using this plugin. It was referred to me by Jim Burke from TSG Real Estate, who needed a way to easily add classes to blockquotes, tables, and images. The plugin also does a great job of making tables work
[...] Page Links To – by far the simplest plugin on this list, This plugin allows you to create “pages” that link to something else. It’s the easiest way to add links to your main menu, without mucking around in code. It’s good for adding a link to an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. by Mark Jaquith [...]
Hey,
a really kick ass feature would be if the link clicks were counted.
So i can display the link clicks.
an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. byMark JaquithTinyMCE Advanced – I’ve posted a lot about using this plugin. It was referred to me by Jim Burke from TSG Real Estate, who needed a way to easily add classes to blockquotes, tables, and images. The plugin also does a great job of making tables work
an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. byMark JaquithTinyMCE Advanced – I’ve posted a lot about using this plugin. It was referred to me by Jim Burke from TSG Real Estate, who needed a way to easily add classes to blockquotes, tables, and images. The plugin also does a great job of making tables work
[...] Page Links To – de loin le plus simple des plugins de cette liste, il permet de créer des “pages” qui lient à quelque chose d’autre. C’est la façon la plussimple d’ajouter des liens à votre menu principal, sans avoir à bricoler dans le code. C’est bien pour ajouter un lien pour une galerie de photos externe par exemple. Vous pouvez aussi l’utiliser pour faire un lien vers une section d’une page plutôt que vers la page elle même ce qui peut être intéressant par exemple pour faire un lien vers l’endroit où se trouve le menu d’un restaurant ou vers d’autres section de longues pages. Par Mark Jaquith. [...]
[...] Page Links To – 一个很简å•çš„æ’ä»¶ï¼Œä¸»è¦æ˜¯ç”¨æ¥æž„建page页é¢ä¹‹å‰çš„内部链接. by Mark Jaquith [...]
Very nice plugin. I have used it to “block” root pages at the top of drop-down menus, by setting the links-to value to “#”. Thank you !
Page Link ToPage 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 JoelStarnes: pageMash The Ajax interface allows you to drag-and-drop the pages into the
[...] Page Links To – by far the simplest plugin on this list, This plugin allows you to create “pages” that link to something else. It’s the easiest way to add links to your main menu, without mucking around in code. It’s good for adding a link to an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. by Mark Jaquith [...]
I have a static home page for my site, and i’d like to create a blog link for the post page. Only thing is, i’m not sure how to link to it as it links to index.php by default, and that is what the static page ends up being once that is declared. Is there a work around for this issue. Hard to believe this hasn’t been done before. Thanks very much, great plugin!
My apologies for the previous post. As I continued my search I was led to the obvious. Right under the Dashboard Options Page where I declared my static home page there is an option for me to declare my post page. I could then declare my Blog page to be the posts. (duh, must open eyes) I thank you for the plugin!
Lovely wordpress plugin! WordPress should integrate this into their core system.
Thanks a lot
[...] soalan2, boleh gunakan plugin..dapatkan di sini >>> Tempus Fugit | TxFx.net » Page Links To untuk soalan1, saya tak berapa faham..mungkin saudara ptut letak directory tersebut di [...]
[...] http://txfx.net/code/wordpress/page-links-to/ [...]
it would be neat if you could make a new field that says “no_link” that could make it so just the word appeared, with no … that way you could make parent pages into just category headers that don’t link anywhere.
for now i make link_to point to # to accomplish this.
# Rhian Says:
”
This plugin does work with WordPress 2.3, but you need to create a blank page (with your chosen title, and no content), publish it, and then edit it to add the links_to tag. Just a heads-up.”
Thanks Rhian this worked a treat
Andy
It works well on WP 2.5! Thank you!
[...] the possibility of choosing which items appear in the navigation menu. Mark Jaquith brings up his Page Links To plugin which allows you to point pages and menus to links outside of your blog’s [...]
[...] Page Links To: Allows you to set a “links_to” meta key with a URI value that will be be used when listing WP pages. Good for setting up navigational links to non-WP sections of your blog. Love this one….allows you to link pages to other sites. So when you click on My Bio above it takes you to an external site. [...]
[...] Page Links To – by far the simplest plugin on this list, This plugin allows you to create “pages” that link to something else. It’s the easiest way to add links to your main menu, without mucking around in code. It’s good for adding a link to an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. by Mark Jaquith [...]
[...] then created a new page and used the Links to Page plugin to get it to link to the gallery category page. You can see the link up on the top nav [...]
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
[...] Page Links To v1.4 [...]
[...] Page Links To – 本文最简单易用的插件。该插件允许你通过创建“页面”来链接到任何你想要的位置。不必修改代码就能轻松为主菜单添加链接。例如:链接到您的外部相册。您还能通过它创建链接到页面的指定位置,对于制作饭店菜单或大幅页面的小区域链接将非常有用。作者: Mark Jaquith [...]
[...] Page Links To – de loin le plus simple des plugins de cette liste, il permet de créer des “pages” qui lient à quelque chose d’autre. C’est la façon la plussimple d’ajouter des liens à votre menu principal, sans avoir à bricoler dans le code. C’est bien pour ajouter un lien pour une galerie de photos externe par exemple. Vous pouvez aussi l’utiliser pour faire un lien vers une section d’une page plutôt que vers la page elle même ce qui peut être intéressant par exemple pour faire un lien vers l’endroit où se trouve le menu d’un restaurant ou vers d’autres section de longues pages. Par Mark Jaquith. [...]
Brilliant plugin. It’s saved me so much time
[...] Page Links To – 本文最简单易用的插件。该插件允许你通过创建“页面”来链接到任何你想要的位置。不必修改代码就能轻松为主菜单添加链接。例如:链接到您的外部相册。您还能通过它创建链接到页面的指定位置,对于制作饭店菜单或大幅页面的小区域链接将非常有用。作者: Mark Jaquith [...]
[...] Page Links To – by far the simplest plugin on this list, This plugin allows you to create “pages” that link to something else. It’s the easiest way to add links to your main menu, without mucking around in code. It’s good for adding a link to an external photography portfolio, for example. You could also use it to link to sections of a page, rather than an entirely seperate page, which could be useful for linking to sections of a restaurant menu, or other small sections of a larger page. by Mark Jaquith [...]
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 !
Yes, it is not working in 2.5
But thanks anyway
Not working in WP 2.5 here either. Please update!
How is it not working in 2.5? It works fine for me (as seen on this site with my “Photos” and “Services” links).
It works fine for me on 2.5, too. (See the “My King” link on my blog.)
Thank you so much!
I’ve been looking for something like this for months! It’s so simple and easy to use!
Much love for San Jose, CA!
[...] page links to [...]
[...] per reindirizzare la pagina all’indirizzo di wordpress potete usare il plugin “Page Link To“. Una volta caricato e attivato il plugin vi create una pagina vuota (nominata ad es. Foto) e [...]
I have installed it on my site but I can’t see where I can use it when making a new page? Could someone please make a PrintScreen?
Cool little Plugin, very useful
[...] Page Links To – 本文最简单易用的插件。该插件允许你通过创建“页面”来链接到任何你想要的位置。不必修改代码就能轻松为主菜单添加链接。例如:链接到您的外部相册。您还能通过它创建链接到页面的指定位置,对于制作饭店菜单或大幅页面的小区域链接将非常有用。作者: Mark Jaquith [...]
hey,
what about adding the facility to add a meta ‘links_to_post’ and then quote the post id. Helps when you need to move the site to another server and domain or even to a sub-directory.
Very good plugin and works great on WP 2.5. Thank you very much for your work!
Thank you for taking the time to develop this plugin.
I have installed the plugin but when I go to create a new page I cannot find any reference to it in the templates. Please help.
[...] Page Links To » Tempus Fugit (tags: wordpress plugin) [...]
[...] Page Links To » Tempus Fugit (tags: wordpress plugin) [...]
Great plug-in! I have been searching for something like this for a while.
I have a question:
When I do a re-direct, I want it to open in another tab or at worst another window. How can I do this?
Thanks!
Perfect!
Excellent work in WP 2.5, this one’s a keeper
Yea.. it doesnt seem to be working for me either.. used firefox 2.0, then upgraded to firefox 3.0, and also using ie 6.0.. and none of them popped up into a new window.. for (http://markjaquith.com/) or (http://www.4-14.org.uk/) .. so.. im also using windows xp 64-bit ..
so i dont know if that has anything to do with it.
Anyway I can mask/hide the redirected URL so that my site’s address still shows in the Location bar?
Or as Miguel asked, “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?”
Tq.
I guess I have the same question as Sandra. I can’t figure out what to set the links_to_target to get the page to open embedded in my blog. Any help would be appreciated, thanks for providing this plug-in.
[...] alternativa, per reindirizzare la pagina all’indirizzo di wordpress potete usare il plugin “Page Link To“. Una volta caricato e attivato il plugin vi create una pagina vuota (nominata ad es. Foto) e nei [...]
Hey there, the plugin is pretty simple at usage. Lightweight and it worked effectively.
Find it hard to figure out what it does at first since it was named to “Page links to”. Thought it was used for linking internal pages.
Now I know what it is and I can link my blog with my other websites.
Thanks for the ultra cool plugin.
Frank did you figure the ” links_to_target ” tag yet?
Pretty simple, it’s like creating or hyperlink your link.
Once you created the “links_to and URL in the custom field. You need to create ” links_to_target ” in a new custom field with value ” _new “.
Your page will save by itself make sure the status Published is set first.
Check you page nav link and click on it. New page will open.
Easy pheasy!
Hope I answered that correctly.
I don’t know if I’m getting this right, but what’s the point of this plugin? I went in (without the plugin), created a new (blank) page for my Flickr library and added “links_to” in the custom field.
What else does this plugin do that I didn’t just do with the above method?
Or am I completely missing the boat here?
For some reason one of the pages I used this on has now replaced my 404 message. So whenever a link is broken the user gets redirected to another site, not the 404. Any ideas?
[...] page links to [...]
Wow and wow again…
I have the latest version (2.5.1) of WordPress installed and this works great and just as described above.
In short for those who haven’t read properly the full text… Make a dummy page with title and add the Custom Field key lins_to with the URL as value and you have it up and running!
No editing themes/templates to add items to the menu so you can test and change easily. For me that is what really sells it.
Many many thanks.
Mike
[...] Page Links To – 本文最简单易用的插件。该插件允许你通过创建“页面”来链接到任何你想要的位置。不必修改代码就能轻松为主菜单添加链接。例如:链接到您的外部相册。您还能通过它创建链接到页面的指定位置,对于制作饭店菜单或大幅页面的小区域链接将非常有用。作者: Mark Jaquith [...]
It changes the WP-generated link to your page to point to the URL specified by your links_to custom field. If you did it without the plugin, you’d just have a blank “Flickr” WordPress page that didn’t point to your Flickr library!
Hi Mark,
I still haven’t found the solution to embedding the redirected page within my wordpress. Any thoughts?
Den: The ”links_to_target” tag works great if you want the redirected page to open in a new window, but Frank and I want to embed the redirected content. Any ideas?
Thx!
Sandra,
What you want isn’t going to be feasible the way you want without using an
<iframe />or really geeky PHP code. Embedding and redirecting, although they seem similar, are very different, technically.