1. Accueil
  2. Base de connaissances
  3. Configuration
  4. Remplacements de mots-clés et d'URL

Remplacements de mots-clés et d'URL

Tutoriel vidéo sur le remplacement des mots clés :

Tutoriel vidéo sur les remplacements d'URL :

Qu'est-ce que le remplacement de mots-clés et d'URL ?

This is one of the biggest features Pretty Links has to offer. With Keyword replacements, you can specify certain Keywords or URL’s when creating/editing a Pretty Links. Any time that Keyword or URL is encountered on a Page, Post, Feed, CPT, or Comment. Pretty Links will replace it with your Pretty Links. Additionally Pretty Links can scan your entire site, and convert all non-Pretty Links URL’s into Pretty Links URL’s. The best part is that this is not permanent, once you deactivate Pretty Links, all those links go back to how they were before.

Fixer des seuils de remplacement des mots clés

Let’s say you want to replace the Keyword “Money” with a Pretty Links. Without setting a threshold Pretty Links will replace every single instance of “Money” on your site with that Pretty Links. This may not only be annoying to your users, but can also impact the performance of your site. It is recommended that you set a threshold to prevent too many Keywords from being replaced at one time. Note: Pretty Links replaces the Keywords randomly on the page. You cannot specify which instances of a word will, or will not be replaced.

Ouvrir dans une nouvelle fenêtre

L'activation de cette option ajoutera l'attribut target="_blank" à tous les liens qui sont automatiquement remplacés par Pretty Links. Cet attribut indique au(x) navigateur(s) web d'ouvrir ce lien dans une nouvelle fenêtre ou un nouvel onglet. Il est recommandé d'activer cette fonctionnalité.

Ajouter des Nofollows

Adding nofollow to the links is recommended unless you are using the 301 type redirect for the links. Nofollow means that search engines should not follow or index that URL. It is recommended that you enable this feature, unless you’re an SEO expert and know what you’re doing.

CSS personnalisé

You can specify regular and hover CSS styling for your Keyword Pretty Links replacements. Let’s say you wanted to make all of the Keywords replaced show up as a Navy Blue and Bold link – and you wanted them to turn Red when hovered over. You would simply type those CSS attributes into the text field. See the image below for an example of how this data should be entered.

Style personnalisé pour le remplacement du mot-clé Pretty Links

Le présent vous permet d'ajouter un lien de divulgation en haut, en bas, ou les deux, de n'importe quelle page, article ou type d'article personnalisé sur votre site qui utilise les remplacements de mots-clés ou d'URL. Pour en savoir plus, veuillez consulter cette page.

Divulgation des mots-clés

Activez cette option pour ajouter un lien d'affiliation à côté de chacun de vos remplacements de mots clés. Utilisez la zone de texte pour personnaliser la façon dont vous souhaitez que cela apparaisse. Remarque : cette option ne s'applique pas aux remplacements d'url, seulement les remplacements de mots-clés, et Votre lien ne doit pas nécessairement être un lien d'affiliation pour que cette option fonctionne. Lorsqu'elle est activée, elle se présente comme suit :

divulgation des mots clés jolis liens

Remplacer tous les URL

If you enable this option, Pretty Links will scan your entire site and convert all non Pretty Links URL’s into Pretty Links. If you have around 8,000+ non Pretty Links URL’s on your site, it may not be a good idea to enable this feature as it can cause performance issues. This feature is somewhat reversible. When you disable it, all the links return to normal. However, they will still be listed as Pretty Links in the Pretty Links list.

Remarque : If you would like to blacklist links that direct to certain domain names you can enter them here beginning as http:// or https:// and without any other /’s or text after the domain name. If you enter them incorrectly they will be removed from the list after saving your options. Here is an example of what it should look like:

Remplacer dans les commentaires

Enabling this option will cause Keywords and URL’s in your comments to be replaced as well, instead of just Pages, Posts, and CPT’s.

Remplacer dans les flux

Enabling this option will cause Keywords and URL’s in your feeds to be replaced as well, instead of just Pages, Posts, CPT’s and Comments if the above option is enabled.

Remplacements d'indices

This feature will index all of your keyword & URL replacements to dramatically improve performance. If your site has a large number of replacements and/or posts then this feature may increase the load on your server temporarily and your replacements may not show up on your posts for a day or two initially (until all posts are indexed). If you’re already using a page caching plugin like W3TC, or using a CDN, or even if your web host does page caching for non-logged in users – then this feature may add no benefit to what you’re already doing. NOTE : cette fonctionnalité nécessite l'utilisation de wp-cron.

remplacement des URL à l'intérieur de Pretty Links
Cet article a-t-il été utile ?

Articles connexes