What is the best permanent link structure for your WordPress? • WordPress Help

It is beyond doubt that WordPress is the most implemented and successful platform on the Internet, and how well prepared it is prepared for SEO is one of the advantages that has helped its current situation.

Well, one of the first concepts that we must work with for SEO in WordPress is that of [19659006] permalinks translated as permanent links .

What is a permalink

 web browser links

A permalink or link permanent is the URL that leads to a specific entry or page as well as to a customized content label, category or content file on your website.

Never change and that's why they are permanent web addresses that are used to link to your content.

users enter or paste those permanent links in their browser's address bar to view one of your pages.

Also, search engines and other websites use permanent links to link to your website So realize your importance.

Therefore, when you install WordPress and start using it for your blog, web or online store, it is vital that you choose the appropriate permanent link structure when you set it up. You can change it later, but always with caution, remember that they are " permanent ".

Depending on your permanent link structure by default you may not have to change them to help that little bit more to your web's SEO .

WordPress's permanent links

 chain links

There are three basic types of permanent links in a WordPress installation:

"Ugly" permanent links

If you have installed WordPress for a long time and you have not changed the permanent links setting, you will have a permanent default link, which shows the ID of the page in the database, for example. https://miweb.es/?p=126.

This type of format is not semantic, it has no meaning for humans when it contains only numbers, so that's why it's called " ugly ".

] Permanent links "almost" pretty

They are somewhat better than ugly ones. They include index.php after the domain, which is followed by semantic text related to the publication. For example, https://miweb.es/index.php/2018/06/23/mi-primera-entrada/

Pretty permanent links

This type of links is the one most used by WordPress websites. In it, the domain is followed by a string of text that clearly identifies the title and, therefore, the content of the specific page to which it links. For example, https://miweb.es/2018/06/23/mi-primera-entrada/ or https://miweb.es/mi-primera-entrada/ .

The best structure of permanent links in WordPress

 seo wordpress

WordPress offers you the possibility to create a structure of URLs for your permanent links and files. You can choose them in your administration> Settings> Permanent links . There are six options to choose from:

  • Simple: – This was the old default setting, which we call an ugly permanent link, of type https://domainname.com/?p=123. This type of permanent link should never be used. Its only advantage is that it is short.
  • Day and name: – This uses a year / month / day format followed by the name of your entry, like this: https://domainname.com/2018/06 / 23 / name-entry. This is the current permanent link of WordPress just installed, and is used especially in news websites, in which the date of publication is relevant. The good part is that it contains the title of the publication, so it should contain keywords.
  • Month and name: – This is similar to the previous one, only without the day. For example: https://domain-name.com/2018/06/nombre-entrada. It is the type of permanent link usually used in Blogspot.
  • Numeric: – This option uses only the entry ID of the wp_posts table in your database. For example, https://domain-name.com/file/123. I do not recommend you ever use it because in addition to not being semantic, enter the text file that also does not contribute anything. It has no keywords and it is longer than the ugly one.
  • Name of the post: – This uses the title of your post, like this: https://domain-name.com/entry-name. It does not help to differentiate an entry from a page, but it helps users and search engines to know what your publication is about. It is, by far, the most used structure, for its balance between semantics and short length.
  • Custom structure: – This type of permanent link allows you to define your own structure, using all the structure tags available in WordPress , in addition to your own texts. Here you can experience at ease. You can put the category tag between the domain and name of the entry, you can add fixed keywords, change the visible extension of your URLs, whatever you want. It is usually considered as a good type of permanent link for SEO to have a lot of visibility, after proper customization.

 wordpress permanent links settings

Creating custom permanent links

WordPress offers us 10 structure tags of permanent links to define our own personalized permalinks. The most common are these:

  • % postname%: This is the slug of your entry ( slug is the part of permalink with the name of your entry, without the domain or other elements)
  • % post_id%: The unique ID of your post.
  • % category%: The main category of your post.
  • % year%: The year of publication.
  • % monthnum% : The month of publication.
  • % day%: The day it was published.
  • % author%: The registered user who is the author of the publication. It is interesting to use in news sites or blogs with several authors.

If you want to be more specific in your structure you can use other tags. For example, % hour% % minute% and % second% . They are not usually used much but there they are for very specific cases.

Now, something you should keep in mind when defining your custom link structure is that you must at least include or your % postname% or the % post_id% so that WordPress can identify the specific publication . Do not go crazy and forget the fundamentals.

Good permanent links for SEO

 seo links

Your permanent links and structure are important for SEO . The Google guidelines on URL structures are clear : keep them as simple as possible, and intelligible to humans .

When a user types a search on Google it they offer different information, such as the title, date, description and permanent link, and only those.

Those are precisely the only details that allow the user to decide if the publication contains the content he is looking for so there must be coherence between these parts.

The good practices of SEO related to permanent links could be summed up in:

  • Keep the URL short – if possible less than 100 characters.
  • Use keywords in the URL, but do not saturate.
  • Remove dynamic properties (dates, etc) if possible.
  • Use hyphens as a separator.
  • Avoid empty words co and, or, but, of, the, etc.

If you use the Yoast SEO plugin, in the snippet you will find the WordPress editor, helps you remembering this kind of advice.

 analysis seo yoast

Conclusions

 writing for seo

In this article I wanted to address a basic of SEO for WordPress that we should never forget, and that is the first measurement of positioning just installing WordPress .

With a good structure of permanent links, in addition to complying with Google's guidelines , we offer short links, easy to understand, that help our visitors and searchers to understand and know our contents .

So it uses a structure of permanent links that is short, semantic, understandable , removing everything about . What most of the occasions will be that of name of the entry which is the one we apply with the tag % postname% as we saw earlier.

You can add customizations, but always having clear principles, and always when they contribute more than they subtract . This is at least my criterion, which I have been using for many years, and it has not gone badly for me.

Loading …

That may also help you:

Finally permanent links in the installation! • WordPress Help

A long time ago, a long time that has been talking about that WordPress should allow to choose the type of permanent links since the installation it does not make sense to install with the permalinks by default the ugly ones (although effective) when everything we wanted to change them after finishing the installation to choose other more human

Well, is already working for that in WordPress 4.2 permanent links can be chosen from the installation .

that, unless your server does not allow it, you will never start a new installation of WordPress with those ugly permanent links of type http://misitio.es/ ? p = 21 but you will be able to start with something more nice and intuitive like http: // misit io.es/hola-mundo/.

It is more, if you happen to make the choice of the permanent links in the installation WordPress will be installed by default already with permalinks pretty , by work and grace the rewrite of mod_rewrite or nginx of type /% year% /% monthnum% /% day% /% postname % / . That is, for example: http://misitio.es/2015/01/12/hola-mundo/ .

And in case it was not available on rewrite on your server then the permalinks of a newly installed WordPress would be such as /index.php/%year% /% monthnum% /% day% /% postname% / that either They are so bad. It would be something like this: http://misitio.es/index.php/2015/01/12/hola-mundo/ .

In this way we will have the two best possible options, or choose the best ones permalinks possible in the installation or, in case of not doing so, to have from the installation of a human permanent links by default without having to waste time in later configurations to achieve that goal

I suppose it will seem like a good idea to me, but if you see some fault, you tell us in the comments.

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Permalinks by default without user intervention

 broken wordpress permalinks

If you make installations for others you sure know that you should not give administrator privileges to anyone , because then they break things. You can be for or against doing it but it is reality.

And there are changes of settings that nothing happens if they do, but others can destroy all the work done, or positioning as for example, change permanent links, permalinks .

But you did not know that permanent links can be established by default ?, it can be, and it is also SUPER SINGLE . You just have to decide if you will force them from a function plugin or from the file functions.php of the theme, because to get it you have to add this code in one of them:

You save the changes and that's it, if your permission .htaccess has write permissions will be active permalinks whenever the subject is active with the file functions.php or the plugin that contains this function.

You can, of course, change the structure to which you decide, how alone /% postname% / ol to which you decide from the available ones in the structure of links of WordPress .

If your option is the last one already you know that you can avoid that they touch the plugins also configuring the permissions of the user or that update them or to deactivate and break everything, and if you choose the subject you can also disable modifying the subject or that change the subject or a combination of both tricks.

You can use this function to avoid unwanted modifications of permalinks after installing WordPress, or even to force permalinks by default as soon as you create new installations avoiding repetitive tasks, you decide.

Nice trick of be-studios

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say that we have not warned you.

Loading …

That may also help you:

Any link redirects to the cover • WordPress Help

Today I wanted to share with you a bug that I have sometimes encountered in some WordPress installations. I refer to a situation, quite unpleasant and mosqueante, to the fact that you can visit your website but if you click on any link to the post or page they all direct you to the main URL, to the front page . ] If I have to put in situation this error has almost always coincided with migrations, WordPress updates or important configuration changes but I have seen this error in sites that – apparently – had not gone through any of these processes (and in principle I believe it.)

Well, the good thing is that has an easy solution that works 99% of the time and it's something as simple as access the WordPress Permanent Links settings and, without changing the settings you have, save the changes .

With this everything goes back to work as usual and continue with yours .

WordPress 3.3 – Permanent links

One of the things that WordPress 3.3 has given me more joy is that it finally offers you the option of using the permanent links of type % postname% which you already know are the ones I always recommend because they eliminate noise from URLs.

Now, although default permanent links just install still remain of type http://misitio.com/?post=12 you already have, in addition to the options usual date and number, the name of the entry, or % postname% so one less thing to explain.

More than 10 WordPress news 3.3

Well, since we already know that WordPress 3.3 will be for November 15 I think it's time to start glimpse the novelties that await us which will be very interesting.

There is still a long way to go in the development, which today is at 30% but we can see interesting improvements, I'm sure you'll like it.

Let's see them …

1. Improvements in the multimedia loader

Finally, it seems that after many requests (and almost crying for me) in WordPress 3.3 there will be a major remodeling of the media loader adopting Plupload [19659010]a system developed by the people of TinyMCE that will involve huge advances, many already using HTML5 in the loader . Advances such as "drag and drop", automatic resizing, filtering by file type and much more.

I look forward to it.

2. First Steps Guide

This is going to be very useful for beginners, as soon as you install WordPress you will be shown a guide in which you will be encouraged to make the first important configurations.

Of course, you will always have WordPress Help but surely the new ones in WordPress will be helped by an introductory text that, in addition to welcoming them, tells them the first steps in their newly installed CMS.

3. Adaptive Desktop

If you use an iPad, you'll know what this means. And the WordPress administration area is great, but it is not adapted to all kinds of screen configurations, let alone tactile interface devices. Someone will tell me that the mobile version of WordPress already exists, but you will be with me that it leaves a lot to be desired and, at least from an iPad, despite its shortcomings, it is more effective to use the normal administration interface.

adaptive desktop version the administration area will recognize the screen and device configuration and will offer a version that adapts to it, not only in appearance, but also in functionalities and modes of use.

4. Improvements in the admin bar

To what you have already noticed that from WordPress 3.2 the admin bar introduced in version 3.1 does not adapt as it should ?. In fact, by default it is not active in the administration area and the reality is that it requires the same for such basic things as writing a new entry. In fact, from WordPress 3.2 the ideal is to activate the bar also for the admin area always.

Well, WordPress 3.3 is going to solve this and some other detail, because it is no longer understood the administration area without the admin bar, and the changes will go in this direction.

5. Performance improvements

Come on, this is not a novelty but something mandatory, and demanded by everyone in each update, and that is not always true although the truth is that it is being met reasonably except on rare occasions.

Currently there are some internal aspects that do not contribute to the best possible performance in WordPress, such as the fact that "pretty permalinks" require several redirections something really meaningless. And things like this and some more will be modified to improve internal performance and reduce consumption and requests to the database.

6. Language packs

If there is still something manual still in WordPress, one of these things is change the language of the same WordPress even plugins and themes. This seems to be solved by integrating a language installer. I think it's a great idea, and it's easy to apply.

7. Child themes in the repository

As with frameworks, from WordPress 3.3 you can install child themes something that is now even complicated to load into the official WordPress.org repository.

8. Permanent widgets

You have already suffered more than once that bitch that means that when you change the subject you disappear the widgets that you had well organized in the previous topic. Well, this is also going to be fixed in WordPress 3.3 and now your widgets will still be there in the sidebar of the new theme when you change it.

9. Remove administration notices

The truth is that there are many ways to avoid the appearance of updates notifications and other administration messages, through plugins and hooks, but from the new version you will be able to decide natively not to appear this type of messages .

10. Improvements in the settings and the Meta API

I do not know what changes there will be in this respect but we are also working on it. I'll go on discussing the advances.

11. Background updates

I already talked about WordPress updating in the background like Chrome or Mac OSX. This will be a great advantage especially for webmasters who carry many client sites.

Well, it seems to be good WordPress 3.3 do not you think ?. Personally, the most anticipated change is that of the media loader. Which one do you think best of these 10?

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Rewrite in search results • WordPress Help

This is one of the things that it's good to share, because they open up to sometimes obscure, even incomprehensible WordPress issues. Because our beloved CMS has many virtues but there are also things that, honestly, are not understood as they have happened, and this is one of them.

And I refer to the fact that, even if you have the permanent links " pretty "(from the English" pretty permalinks ") the URLs of the search results are always horrible. It's like a remnant of the past, especially when in fact WordPress is prepared to offer good permalinks even in this.

Let's see …

For example, if you do a search right here for "bbpress" what you get is this URL:

But, do the test, type this other too right here:

You get what same!

So why do the search results that give you the native form offer the horrible permalinks? The case is that the function to give you the result with the good permalinks exists in WordPress but the rewrite does not work .

Fortunately everything has a solution, and Bavota ] has written a function that, added to the file functions.php of your active theme gets the rewrite to work as it should, is:

Save and that's it, from now on all your permalinks of search results will be of type tusitio.com/search/palabra

NOTICE : this publication is from two years ago or plus. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Simple Tags and WordPress 3.1 • WordPress Help

I mean that when you click on a link to a category, using the "friendly" permanent links ( /% postname% / ), you do not load the category file page but instead takes you to the cover of your site.

Well, this error, already reported in the trac has some possible solutions:

As you imagine, the most reasonable solution is the third, except you want to upgrade to Simple Tags 2.0 beta.

WordPress Quick Installer • WordPress Help

Dion Hulse has prepared an installer for WordPress that automates many options, without you having to do many of the previous tasks of a standard installation, it has been called WordPress QI (by Quick Installer)

You just have to download the latest version of the installer, upload it to your server and run the file called " installer.php " to start the installation process, similar to WordPress but with the difference that he does all the work for you to download the latest version, upload it, unzip it and start the installation itself.

To finish offering a round product, you can define some options, such as deleting the plugins by WordPress defect, that the test posts are not generated or that the structure of friendly permalinks is created, with its relevant file .htaccess .

Delete the category of the URL • WordPress Help

Now yes. After the hardships that we have spent these months to get to eliminate the category of the URL in WordPress I have found an infallible method with the following virtues …

I have tried it in the official blog of Media and Networks where you can see it working (in fact " blog " is itself a category with subcategories, try in any subcategory from the list of links above). Of course, it works regardless of whether you have customized the permalink structure to something else (eg: 'category' or 'section', etc.)

Just one caveat … Imagine you have a page with the url ] http://mi-web.com/noticias/ and also a category called "news". In that case, the category would prevail, so accessing the "new" permalink will always show you the category "news" instead of the page. What's more, if you have a link to that page in your navigation bar it will show you the category. Keep it in mind.