Title: LH Page Links To
Author: shawfactor
Published: <strong>6 décembre 2019</strong>
Last modified: 25 mars 2024

---

Recherche d’extensions

![](https://ps.w.org/lh-page-links-to/assets/banner-772x250.jpg?rev=2206987)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/lh-page-links-to/assets/icon-256x256.png?rev=2206987)

# LH Page Links To

 Par [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Télécharger](https://downloads.wordpress.org/plugin/lh-page-links-to.zip)

 * [Détails](https://fr.wordpress.org/plugins/lh-page-links-to/#description)
 * [Avis](https://fr.wordpress.org/plugins/lh-page-links-to/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/lh-page-links-to/#installation)
 * [Développement](https://fr.wordpress.org/plugins/lh-page-links-to/#developers)

 [Support](https://wordpress.org/support/plugin/lh-page-links-to/)

## Description

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](https://wordpress.org/support/view/plugin-reviews/lh-page-links-to/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-page-links-to/).**

## Installation

 1. Upload the `lh-page-links-to` folder to your `/wp-content/plugins/` directory.
 2. Activate the « LH Page Links To » plugin.

**Existing Content Usage:**

 1. Edit a post or page.
 2. Below, find the Page Links To widget, select « A custom URL », and add a URL of
    your choosing.
 3. Save the post or page.
 4. 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:**

 1. Click Pages > Add New Page Link.
 2. Provide a title and a destination URL.
 3. Optionally provide a custom slug, which will be used in creating a local redirect
    URL.
 4. Click Publish.

## FAQ

### My links are sending me to http://mysite.com/site-i-wanted-to-link-to.com … why?

If you want to link to a full URL, you _must_ include the `http://` portion.

### Can I link to relative URLs for URLs on the same domain?

Yes. Linking to `/my-content.php` is 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](https://fr.wordpress.org/plugins/lh-page-links-to/LocalHero?output_format=md)
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. twentyfifteen, twentysixteen etc.

If the problem persists please leave a post in the support forum: [https://wordpress.org/support/plugin/lh-page-links-to/](https://wordpress.org/support/plugin/lh-page-links-to/).
I look there regularly and resolve most queries.

### What if I want to enable or disable this functionality for a specific post type?

Look at the filter lh_page_links_to_get_applicable_post_types . It will enable you
to modify the post type(s) this functionality is available with.

More bbroadly this plugin is about decisions not options so I won’t be adding settings
but there is likely a filter to modify most behaviour, and it there is not I am 
happy to add one!

### 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/](https://shawfactor.com/contact/)

## Avis

![](https://secure.gravatar.com/avatar/93f53ef1a265aaff43f39c144a18cdefaba71dddf8a45061b795287b42d7c370?
s=60&d=retro&r=g)

### 󠀁[Exelent!!!](https://wordpress.org/support/topic/exelent-90/)󠁿

 [madinfinity](https://profiles.wordpress.org/madinfinity/) 26 avril 2023 2 réponses

Very needed Target="_blank"

![](https://secure.gravatar.com/avatar/777a4e4e835e55ebbfee033355e60db12f8ade4701044671e3a6a850fb81f576?
s=60&d=retro&r=g)

### 󠀁[Target = « _blank »](https://wordpress.org/support/topic/target-_blank-4/)󠁿

 [佛系软件](https://profiles.wordpress.org/foxirj/) 24 janvier 2022

I would only suggest to add the ability to open links in a new window (Target = "
_blank"). Thanks

![](https://secure.gravatar.com/avatar/4f6db1800893ef8bc26803472b9ca829733c9ef85a581d3ed71c130844bef57e?
s=60&d=retro&r=g)

### 󠀁[A valid alternative updated to Link pages to](https://wordpress.org/support/topic/a-valid-alternative-updated-to-link-pages-to/)󠁿

 [zavorra65](https://profiles.wordpress.org/zavorra65/) 17 décembre 2021

Great plugin updated and a valid alternative to abandoned plugin called "Page Links
To". I would only suggest to add the ability to open links in a new window (Target
= "_blank"). Thanks

![](https://secure.gravatar.com/avatar/f22de5b94fb8cb0a5a45f30b9dc9db80df9ee1795193ba3067502c6629d58ee1?
s=60&d=retro&r=g)

### 󠀁[LIFE SAVER!!!!!](https://wordpress.org/support/topic/life-saver-362/)󠁿

 [rpatwall1206](https://profiles.wordpress.org/rpatwall1206/) 24 avril 2021

Thank you soooo much for this plugn. It works perfect. My theme has a Horizontal
News Ticker that only scrolls post categories. I could not figure out how to use
a post link to get the post title to scroll in the Ticker. When my wordpress plugin
search kept sending me to a "link-to plugin that had not been updated I searched
google and there it was, it works seamlessly. Thank you

 [ Lire les 4 avis ](https://wordpress.org/support/plugin/lh-page-links-to/reviews/)

## Contributeurs/contributrices & développeurs/développeuses

« LH Page Links To » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

“LH Page Links To” a été traduit dans 1 locale. Remerciez [l’équipe de traduction](https://translate.wordpress.org/projects/wp-plugins/lh-page-links-to/contributors)
pour ses contributions.

[Traduisez « LH Page Links To » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/lh-page-links-to)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/lh-page-links-to/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/lh-page-links-to/), ou
s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/lh-page-links-to/)
par [RSS](https://plugins.trac.wordpress.org/log/lh-page-links-to/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

**1.00 December 05, 2019**
 Initial release.

**1.02 March 10, 2024**
 Many code improvements. Changed text domain to be wordpress
compliant, added column for linked pages, added any filters

## Méta

 *  Version **1.02**
 *  Dernière mise à jour **il y a 3 ans**
 *  Installations actives **400+**
 *  Version de WordPress ** 5.0 ou plus **
 *  Testé jusqu’à **6.5.13**
 *  Langues
 * [English (US)](https://wordpress.org/plugins/lh-page-links-to/) et [Swedish](https://sv.wordpress.org/plugins/lh-page-links-to/).
 *  [Traduisez la dans votre langue](https://translate.wordpress.org/projects/wp-plugins/lh-page-links-to)
 * Étiquettes
 * [external link](https://fr.wordpress.org/plugins/tags/external-link/)[link](https://fr.wordpress.org/plugins/tags/link/)
   [page](https://fr.wordpress.org/plugins/tags/page/)[redirect](https://fr.wordpress.org/plugins/tags/redirect/)
   [repoint](https://fr.wordpress.org/plugins/tags/repoint/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/lh-page-links-to/advanced/)

## Évaluations

 4.8 sur 5 étoiles.

 *  [  3 avis à 5 étoiles     ](https://wordpress.org/support/plugin/lh-page-links-to/reviews/?filter=5)
 *  [  1 avis à 4 étoile     ](https://wordpress.org/support/plugin/lh-page-links-to/reviews/?filter=4)
 *  [  0 avis à 3 étoile     ](https://wordpress.org/support/plugin/lh-page-links-to/reviews/?filter=3)
 *  [  0 avis à 2 étoile     ](https://wordpress.org/support/plugin/lh-page-links-to/reviews/?filter=2)
 *  [  0 avis à 1 étoile     ](https://wordpress.org/support/plugin/lh-page-links-to/reviews/?filter=1)

[Votre avis](https://wordpress.org/support/plugin/lh-page-links-to/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/lh-page-links-to/reviews/)

## Contributeurs

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/lh-page-links-to/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://lhero.org/portfolio/lh-page-links-to/)