Skip to main content
Wordpress

• ▷ How to change permalinks in WordPress




Everyone has used URLs, but few have given much thought to what it takes to create a Url de alta calidad.

Para sacar el máximo provecho de su sitio WordPress, no obstante, tendrá que dedicar tiempo a sus URLs (a las que se realiza referencia como enlaces permanentes en el ecosistema de WordPress).

Como muchas otras consideraciones asociadas con el diseño de tu sitio Web, the WordPress permalinks are something most people don't notice ... until you do something dumb.

Cuando los enlaces permanentes de WordPress no funcionan, el Username se da cuenta de ello. Cambiar los enlaces permanentes de WordPress se convierte en un gran problema.

WordPress Permalinks, no obstante, son más que un factor que contribuye a la user experience de su sitio web. Tienen un impacto en el SEO y en cómo los search engines de alto rango de sus sitios web cuando la gente busca términos relevantes para su sitio.

In this article, we'll cover everything you need to know about permalinks on your WordPress site, including their basic structure and how they're created. At the same time we will talk about why they are important.

Lastly, if you have some dull permalinks in use at your disposal, we'll explain how to safely change them.

What is a Permalink?

A permalink (que es un portmanteau de permanent hyperlink) is just a fancy word for the URL that people use to access different parts of your WordPress site.

What is confusing, however, is that permanent links are not necessarily permanent. You should avoid frequent changes, but there are certainly times when changing them is a good idea.

The structure of WordPress Permalinks

A permalink consists of two parts:

  1. The name of domain de su sitio web (a modo de ejemplo, example.com)
  2. El slug, que es la segunda parte y que de forma general describe el contents que el usuario encontrará en la página (a modo de ejemplo, /about me)

Por ende, un enlace permanente completo se parece a example.com/about-me.

Why is Permalinks important

There are several reasons that permalinks are so important. Things like navigation, organization, user perception, and the impact it has on SEO are important here. Let's unpack that a bit.

Navigation and organization

Permalinks tells its users where their content lives on the Internet. Con el permalink, pueden volver al post en una fecha posterior o compartir el post con otra persona.

At the same time, the permalink is a single entity, which means that it can help you identify and organize your content.

Such an organization spills onto the front end - well done, your user should be able to look at your permalink and get an idea of how your website is structured and where they would need to go if they wanted to find content on other topics on your website.

User perception

One of the items of information that visitors use to determine if the website they are viewing is of interest to them is the URL.

Thus, What you include (or don't include) in your permalinks can affect whether a visitor stays on the page or immediately bounces. En algunos casos, es viable que el usuario ni siquiera haga clic en el link basado en la URL.

As an example, users scrolling through search engine results will see the title and URLs of the returned websites. They open only the ones that seem to be of interest to them at the moment.

Impact on SEO

While a website's URL seems to be a minor factor when search engines rank results, it is a factor nonetheless.

Sí, la autoridad del dominio importa, pero el uso de keywords en la propia URL al mismo tiempo parece importar. No hace falta decir que el careful use of keywords en su URL debería aumentar su positioning SEO y atraer más traffic a su sitio web WordPress.

Change WordPress Permalinks settings to be custom

Given the impact that permalinks have on user perception and SEO, you could consider changing permalinks in WordPress to take advantage of these factors in driving user visits. Instead of just including the date and title of your post, you might consider including a tag and category (especially if they're keywords relevant to your website).

By default, WordPress creates permalinks using the following structure:

Your domain name + year of publication of the message + month of publication of the message + title of the message

However, you can change easily the default structure that WordPress uses when you generate your permalinks (and, actually, many users do so before they even launch their websites).

Puede cambiar la link structure permanentes de sus páginas a través de del Tablero de WordPress yendo a Setting > Permanent links. WordPress offers you several options, shown belowwordpress custom permalinks

<>wordpress custom permalinks

As we have mentioned, the default structure of permalink Include the date of publication and the name of the message. If the date you post the message is not super important, you might consider removing it from the permalink and including something else in its place.

However, if none of the standard options provided work for you, can determine custom WordPress permalinks. WordPress offers placeholders for the following information:

  • Year
  • Month
  • Date
  • Time
  • Minute
  • Second
  • Postal ID
  • Job title
  • Category
  • Author

At the same time you can make changes to your base URL to include a default value for your categories and tags. As an example, let's say your permalink is as follows:

http://your-domain.com/your-category-base/your-tag

Using the fields Category base and Base tag, you can change its-base-category and its-tag, respectivelywordpress permalinks not working

By setting your category and tag bases, you can embed keywords in your permalinks without manually changing each post as you create them.

Changing WordPress Permalinks Step by Step (Without Breaking Links)

In the previous sections, we talked a bit about permalinks and how you can customize their structure when setting up your WordPress site. But what if you already have a ton of content and need to restart by changing permalinks in WordPress? What do you do with those permanent links?

Changing permalinks in WordPress comes down to a few simple tweaks. BUT how to change permalinks in WordPress without breaking the links or triggering a cascading chain of effects is a much more difficult thing to do. After all, the real steps you need to take are:

  1. Open the post
  2. Edit the displayed permalink
  3. Keep

In the following sections, we will discuss what happens when you make a change to your permalinkas well as we cover how you can safely make changes and preserve the integrity of your website links.

Why change or reestablish permanent links?

First, let's cover the downside of resetting WordPress permalinks.

Change WordPress permalinks can negatively impact your search rankings, break any existing links, external sites can be used to funnel traffic to your site, and break existing links that you may be using on your site that lead visitors to that page.

However, all of these problems can be handled, and we will cover what you need to do for these matters. Even if you are looking to reset the permalinks in WordPress.

Having said that, why might you consider changing your permalinks? Well, there are several advantages that could outweigh the disadvantages:

  • Your existing posts use an older page structure that is not easy to use. As an example, if you started with an older version of WordPress, your URLs could include your Post ID. Post ID URLs are not easy for people to remember and cannot be used for reference at a later date.
  • Your existing posts use a permalink structure that does not offer you SEO benefits.
  • Usted quiere cambiar la imagen de su sitio y quiere que sus URLs reflejen su nueva imagen de marca.

How to safely change multiple permalinks

If you are changing the permalinks of your WordPress site in bulk, there are three main steps what you should follow:

  1. Make a backup of your site.
  2. Change your permalinks.
  3. Configura la redirect.

Let's take a closer look at each step.

Step 1: Backup your WordPress site

The first thing to do when making major changes to your site is make a backup. Only when you have created a backup and saved it safely should you proceed.

Step 2: Change your permalinks

If you want to change the permalink for all your content, you can do so by updating the permalink structure using the WordPress dashboard. We talked about how to do it in a previous section, but you should know that this action does two things. That:

  1. Change the permalinks used for your existing WordPress pages and posts
  2. Change the custom URL structure so that any future content you create is saved in the proper permalink format

Step 3: Configure the redirect to not see WordPress 404 errors after changing Permalinks

Every user would see a WordPress 404 error after changing permalinks if they stopped at step two. Why is this?

Every referral, regardless of whether it's on your website or someone else's website, is now wrong and all links are broken. Si un Search Engine indexó su sitio usando sus antiguas URLs, esos enlaces al mismo tiempo están rotos.

Once you've changed the permalinks for all your WordPress posts and pages, anyone using an old link will see an HTTP 404 Page Not Found error message.

To prevent users from being able to find your content, you will have to set up redirects for your content. The specific redirect you want to use is HTTP 301, which indicates that it consists of permanent redirects.

There are two ways to configure redirection. You can manually add these redirects to the .htaccess file of your WordPress sites. The format for each redirect is as follows:

Redirect 301 /your-old-post-url.html /your-new-post-url.html

Alternativamente, puedes usar un plugin para ayudar con el process of adding redirects to the file (We review a couple of options that you can use later in this article.)

WordPress permalinks not working? continue reading.

Changing WordPress Permalinks in Individual Posts

WordPress makes it possible for you to change the permalinks on a case-by-case basis.

This is a much simpler process, simply because you are not handling multiple messages simultaneously. To do this, all you have to do is:

  1. Open the WordPress page or post for which you want to change the permalink.
  2. Edit the permalink.
  3. Save the page or message.

Finally, you will have to configure your email redirection. For individual messages, you can manually add the redirect to WordPress's permalinks.htaccess file, but if you have a bulk change plugin at your disposal, you can use it instead.

WordPress Permalinks Plugins

As with any other WordPress process, there are a range of plugins designed to help. Some plugins offer a bit more than the standard WordPress installation when it comes to automating custom permalink structures, while others are powerful options that at the same time check for broken links (allowing you to stay on top of this so your users never see broken links) and configure the redirect every time you update a post.

The following sections present some permalink related WordPress plugins that we think you may find useful.

1. Permalink Manager Pro

Permalink Manager Pro is a plugin that helps users to control the permalinks of all their posts, pages and custom-type items.

As well as handling permalinks, this plugin at the same time helps users to generate redirects for pages whose URLs have changed.

At the same time you will get multilingual support, which will allow you translate permalinks, the ability to set the type of redirect used (for example, 301 vs. 302) and a massive editor to change the permalinks.

Permalink Manager Pro va bastante bien con otros plugins, como WooCommerce, Yoast SEO, y más.

Maciej Bis is a WordPress developer based in Warsaw, Poland, specializing in the development of custom plugins and themes from scratch, although at the same time it helps clients with everything related to WordPress (for example, server migrations, maintenance, etc.).

His best-known creation, however, is Permalink Manager Pro.

2. Custom Permission Links

Sami Ahmed Siddiqui is a developer with more than six years of experience.

One of his biggest contributions to the WordPress ecosystem is the Custom Permalinks WordPress plugin, which makes it possible for you to:

  • Set absolutely custom URL for any post, page, tag, or category
  • Configure redirects from old permalinks to new ones

Note, however, that Custom Permalinks It is designed to work with individual posts, pages, tags, or categories, not bulk changes.

3. Permalinks Customizer

If all you are looking for is something that offers you a little more than what WordPress offers you when it comes to customizing permanent links, but you don't want something super extensive, contempla Permalinks Customizer. Permalinks Customizer es un proyecto de Open Source dirigido por Aliya Yasir y Sami Ahmed Siddiqui (que trabajan bajo el paraguas de Yas Global)permalinks customizer

Permalinks Customizer is a plugin that enables you to set different permalink structures based en el tipo de post o la taxonomía de su elección.

A modo de ejemplo, todas las entradas de su Blog pueden incluir el término blog (a modo de ejemplo, example.com/blog/post-title), que lo diferencia de sus páginas de noticias (que pueden encontrarse en una URL como example.com/news/news-title).

The Permalinks Customizer will automatically create redirects every time you update a post, page, or category.

Fixing issues associated with SEO due to Permalink changes

We briefly mentioned that changing your permalinks leads to the breaking of all your existing links.

You can mitigate some of the problems this causes by configuring HTTP 301 redirectsBut if it's workable, you'll want search engines to update their indexes with your new permalinks.

This not only enables you to update your rankings based on your new URL keywords, but according to Pathfinder SEO, you at the same time minimizes the amount of redirection that must occur, speeding up the page load speed for your visitors.

Un recurso que los motores de búsqueda pueden utilizar para averiguar cómo está estructurado su sitio web es su mapa de sitio XML.

As well as listing all your posts and pages and where they can be found, the sitemap can indicate how often a specific page is updated and when it was last updated.

Plugins to generate sitemaps

There are several plugins available that can help you generate informative sitemaps that help search engines update their indexes for your site.

At once, algunos de estos plugins tienen características que automáticamente posibilitan a los motores de búsqueda saber que usted ha hecho cambios y que necesita que su sitio be reindexado.

SEOPress

SEO Press is, as its website claims, a powerful WordPress SEO plugin that can act as a resource all in one for website optimization for search engines.

As you might suspect, at the same time it has a fantastic sitemap feature, which you can use to easily create a sitemap in WordPress.

At the same time it handles all the other standard (and not so standard) SEO features like Open Graph, meta info, edit.htaccess, 404 monitoring, and more.

Este plugin fue creado por Benjamin Denis, un desarrollador web con sede en Francia.

The plugin was launched in 2017 and his company was incorporated in March 2018. Although relatively new, SEOPress has made its mark in the WordPress space. It is definitely a must see.

Mapas de sitio XML de Google

Based in Stuttgart, Germany, Arne Brachhold is Director of IT at Daimler / Mercedes Benz, which at the same time develops a range of Android apps.

In 2005, Brachhold developed Google XML Sitemaps, which enables users to create complete XML sitemaps of their WordPress sites with ease.

The plugin supports the many types of pages that WordPress generates, and notifies the major search engines every time you create and publish new content.

Simple sitemap

David Gwyer, el fundador de WPGO Plugins, tiene más de 20 años de experiencia en programming, con los últimos diez años dedicados al desarrollo de plugins y temas de WordPress.

Uno de los plugins que ha desarrollado es Simple Sitemap.

Simple Sitemap is a sitemap basado en HTML que le posibilita crear y previsualizar su sitemap directamente en el editor de entradas de WordPress.

Simple Sitemap will automatically generate an HTML sitemap of your content, right out of the box - you don't need to do any coding or configuration.

Those who need more features and configuration options, especially ultra-granular control over what's included in the sitemap, can go for Simple Sitemap Pro.

Yoast SEO

You focus on one thing: SEO. They put up one of the most popular SEO plugins for WordPress, and the company writes many blog posts and offers online courses on this topic.

Yoast is located in Wijchen, the Netherlands, although its remote team has staff members located all over the worldyoast seo

Yoast SEO is not, strictly speaking, a plugin to generate sitemaps.

Rather, it is a tool to promote the SEO of your WordPress site.

Because one way to dramatically improve your website SEO is to include a sitemap to help crawlers, Yoast SEO has strong XML sitemap generation features (including one-shot functionality).

Manual retrofit

Sitemaps are useful for providing search engines with the information they need to properly index your site.

However, if your site has already been indexed and you want the search engine to update your data as soon as possible, you can request manual reindexing.

Plugins to manage redirection

In a previous section we mentioned that you will have to do something about the redirect every time you change a permalink, otherwise visitors (both human and search engine bots) will see HTTP 404 Page Not Found errors and they won't be able to see your content.

There are two ways to configure redirection so that users working with your old permalink can find your content at your new address:

  • Manually add redirect to WordPress permalinks.htaccess file
  • Using a plugin to automate adding redirects to the .htaccess file

Because the first option can become tedious, especially when working with a large number of permalink changes, we recommend using the assistance of a plugin for this operation.

Some plugins try to update the .htaccess file on your behalf, while others implement alternative ways to generate and use redirects.

The following is a list of plugins that you can consider and use.

301 Redirects - Easy Redirect Manager

301 Redirecciones le ayuda a crear y administrar las redirecciones 301 y 302 para su sitio WordPress (una redirección 301 indica que la página se ha movido permanentemente, mientras que una redirección 302 indica que el movimiento de la página es temporal).

301 Redirects is Easy to install and configure, and you can use it both for new sites and to repair links after rearranging existing WordPress content.

301 Redirects is launched by WebFactory, a Croatian-based company founded in August 2009 that has since released more than 150 plugins and made more than 50,000 sales to more than 1 million users.

Hoy en día, WebFactory emplea a nueve persons para apoyar a sus clientes.

Redirection

John Godley is a London-based developer who works as Code Wrangler at Automattic. At the same time he is the author of several WordPress plugins, including Redirection, which is used by more than 1 million websites.

Redirection makes it possible for you administrar sus 301 redirecciones y rastrear cualquier Error 404 that you can see so that you can improve both your users' experience with your site and your search engine rankings.

Every time you change the URL of a message, Redirection automatically configures a redirect (without using the .htaccess file).

Simple 301 Redirects

As the name suggests, Simple 301 Redirects offers you an easy way to redirect visitor requests from one page to another.

Although you still have to manually configure the redirects by providing the source location and the destination location, the plugin strives to make the process a bit easier by not requiring you to work from the .htaccess file.

Simple 301 Redirects es la idea de Burlington, con sede en VT, Scott Nelle, uno de los principales desarrolladores de software para Alley Interactive. Nelle ha estado construyendo sitios de WordPress desde 2006.

Troubleshooting WordPress Permalinks .htaccess

Si has hecho cambios en tus enlaces permanentes, y tus enlaces permanentes no están funcionando, hay varias cosas que puedes intentar arreglar para solucionar el problema. El problema más común posteriormente de cambiar los enlaces permanentes es el error’HTTP 404 Page Not Found’, por ende ese será nuestro target principal.

First, go to Setting > Permanent links. Scroll to the bottom of the page and click Save Changes. This should update your permalink settings and force your WordPress instance to clean up its rewrite rules.

It is possible that, in the process of making changes to your permalinks, your configuration file is out of sync. By flushing your rewrite rules, you are trying to correct this.

If you continue to have problems, you will need to check your .htaccess file. First of all, have you added the necessary redirects? If not, you will have to.

You can manually add the redirects, or you can seek the help of a plugin to help generate the plugins that send users using old permalinks to the location where your content now lives.

Errors when Permalinks have not changed

If you're seeing errors or can't reach your website when you haven't made any changes to your permalinks, here are some troubleshooting steps you can take.

If you are unable to access your website in its entirety, compruebe el estado de su server Web. Many web hosts post status updates online, so check for an outage that is affecting your visitors' ability to reach your site.

(At the same time you can check other pages on your site to see if only one page has been affected or if all pages have been affected - large-scale problems indicate that a server-side problem is more likely).

If your web hosting situation is normal, consider any plugins or themes that you have recently updated or installed.

If you think a newly installed or updated theme may be contributing to your problem, consider disabling all themes except the basic WordPress theme, and reintroduce themes and plugins one by one until you see the page loading problem.

You will be able to seek help regarding the specific theme or plugin causing page load problems for your WordPress site at this point.

Remember, at the same time it is feasible that an update to the WordPress core can cause permalink problems, especially if a plugin trying to handle permalinks on your behalf conflicts with the updates Automattic makes to WordPress.

If all else fails, you can restore your WordPress site from a backup (Remember when we mentioned that the first thing to do before making changes to your permalinks is backing up your site?)

But, this should be a last resort method.

Move your WordPress website

If you have recently moved your site and are now seeing HTTP 404 Page Not Found errors, consider the new structure of your permalinks.

As an example, you may be using the same web server and domain name, but if you move your site to a subdirectory, then all your old permalinks are now invalid since your new permalinks will include the subdirectory name in the name part. domain.

Alternatively, puede estar usando un nombre de subdomain ahora; if that's the case, all of your permalinks will need to be updated to include the subdomain portion of the domain name.

conclusion

Permanent links are important, and you should be aware of the way your WordPress sites generate permalinks.

Not only are they valuable clues to gaining visitors, but at the same time they are a huge factor in your search engine rankings. Well-defined permalinks provide clues as to what is on your site and whether your content is what the visitor or search engine is looking for.

Having said that, working with permalinks can be a dangerous process. Even the smallest mistakes will break your links, leaving your visitors stranded and frustrated..

To do this, we offer you recommended processes to safely change your permalinks, as well as plugin options that you can use to assist with this operation. Or, you can ask us to take care of it for you!