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.
- 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.
lh-page-links-tofolder to your
Activate the “LH Page Links To” plugin.
Existing Content Usage:
Edit a post or page.
Below, find the Page Links To widget, select “A custom URL”, and add a URL of your choosing.
Save the post or page.
Done! Now that content will point to the URL that you chose. Also, if anyone had the old WordPress URL for that content, they will be redirected to the custom URL if they visit.
Creating New Page Links:
Click Pages > Add New Page Link.
Provide a title and a destination URL.
Optionally provide a custom slug, which will be used in creating a local redirect URL.
If you want to link to a full URL, you must include the
Yes. Linking to
/my-content.phpis a good idea, as it will still work if you move your site to a different domain.
What if something does not work?
LH Page Links To, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).
If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfirteen, twentysixteen etc.
If the problem persists please leave a post in the support forum: https://wordpress.org/support/plugin/lh-page-links-to/ . I look there regularly and resolve most queries.
What if I need a feature that is not in the plugin?
Please contact me for custom work and enhancements here: https://shawfactor.com/contact/
Suradnici i Programeri
“LH Page Links To” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.Suradnici
1.00 December 05, 2019