LH Page Links To

plugin banner

Restrict access to posts, pages, and cpts by user role

Lets you make a WordPress post or page link to a URL of your choosing (on your site, or on ano …

Author:Peter Shaw (profile at wordpress.org)
WordPress version required:5.0
WordPress version tested:6.5.2
Plugin version:1.02
Added to WordPress repository:06-12-2019
Last updated:25-03-2024
Rating, %:96
Rated by:4
Plugin URI:https://lhero.org/portfolio/lh-page-links-to/
Total downloads:2 637
Active installs:300+
plugin download
Click to start download

This plugin allows you to make a WordPress post or page link to a URL of your choosing, instead of its WordPress URL. It also will redirect people who go to the old (or “normal”) URL to the new one you’ve chosen.

This started as a fork of Mark Jacquiths Page Links to plugin. I forked it, to simplify the code base, better support gutenberg, and properly support redirects on password protected pages.

Common uses:

  • Set up navigational links to non-WordPress sections of your site or to off-site resources.
  • Publish content on other blogs (or other services, like Medium) but have them show up in your WordPress posts stream. All you have to supply is a title and a URL. The post title will link to the content on the other site.
  • For store operators, you can link to products on other retailer’s sites (maybe with an affiliate code) but have them show up like they’re products in your store.
  • Create a “pretty URL” for something complicated. Say you have https://example.com/crazy-store-url.cgi?search=productId&sourceJunk=cruft … just create a WordPress page called “My Store” and use Page Links To to point it to the ugly URL. Give people the new URL: https://example.com/my-store/ and it will redirect them!

Like this plugin? Please consider leaving a 5-star review.

Love this plugin or want to help the LocalHero Project? Please consider making a donation.


FAQ
ChangeLog