- Inicio
- Base de conocimientos
- Configuración
- Sustitución de palabras clave y URL
Sustitución de palabras clave y URL
Tutorial en vídeo sobre la sustitución de palabras clave:
Tutorial en vídeo sobre sustituciones de URL:
¿Qué es la sustitución de palabras clave y 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.
Establecer umbrales de sustitución de palabras clave
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.
Abrir en una ventana nueva
Al activar esta opción se añadirá el atributo target="_blank" a todos los enlaces que se sustituyan automáticamente por Pretty Links. Este atributo indica a los navegadores que abran el enlace en una nueva ventana o pestaña. Se recomienda activar esta opción.
Añadir 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 personalizado
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.

Enlace a la divulgación
Este le permite añadir un enlace de divulgación en la parte superior, inferior o ambas de cualquier página, entrada o tipo de entrada personalizada de su sitio que utilice palabras clave o sustituciones de URL. Para obtener más información, consulte esta página.
Divulgación de palabras clave
Habilite esta opción para añadir un enlace de afiliado junto a cada uno de sus reemplazos de palabras clave. Utilice el cuadro de texto para personalizar cómo desea que aparezca. Nota: Esto no se aplica a los reemplazos de url, sólo sustitución de palabras clave, y su enlace no tiene que ser un enlace de afiliado para que esta opción funcione. Cuando esté activada, tendrá este aspecto:

Sustituir todas las 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.
Nota: 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:
Sustituir en Comentarios
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.
Sustituir en Feeds
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.
Índice Sustituciones
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. NOTA: esta función requiere el uso de wp-cron.
