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:

Custom permanent links in WordPress installed locally • WordPress Help

 rewrite module

A local installation of WordPress is very useful . There are many occasions when you can take advantage of this despite the fact that this type of facility has its drawbacks.

Either to give courses where you do not have Internet guaranteed, or to test with versions in development, a local installation it is a good resource . Personally I do not love them and I always prefer to do online tests, but it's true that they take you out of more than one hurry and that's why I always have a local installation that I try to have updated.

One of the drawbacks of local WordPress installations, through the systems of type WAMP, XAMPP or MAMP, is that if you change the permanent links of the default option to others as you usually have an ugly error . C'mon, permanent links do not work except the default ones of type http: // localhost: 8888 /? P = 06 .

This is because it is possible that the module rewrite of Apache is not active that is, the one already known by all mod_rewrite .

To make sure that permanent permanent links work, you just have to go to the main window of your WAMP , XAMPP or MAMP and, in the tab corresponding to Apache check that the rewrite_module is selected and if not it marks it to be activated and you restart the local server so that the changes are applied

 rewrite apache mamp

Now should already work . If not, you will have to add the corresponding rewrite rules to the file . Htaccess as indicated in the permanent links settings window, nothing more.

Only as a reminder I leave you a few links on how to install WordPress locally:

  1. Install WordPress on Windows
  2. Install WordPress on Mac
  3. Install WordPress on Ubuntu

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:

Custom permanent links without mod_rewrite

Although it is increasingly difficult to find a provider of hosting that does not offer the Apache module ' mod_rewrite ' necessary for WordPress to use custom permanent links other than the permanent links by default, there is still one out there.

Of course, if you are staying at one of these providers, you can search for a provider of professional hosting but in the meantime, and if you support the use of htaccess you can use a … temporary trick while changing hosting provider

Just use the directive " ErrorDocument ] "Adding the following line to the file ' .htaccess ', and if it does not exist, create it:

Save the changes and you can use custom permanent links almost the same as if you had the module ' mod_rewrite ', with some caveats, so remember that it is a temporary solution while you move from home to your WordPress, he deserves it.