WordPress tutorial: Permalinks


WordPress allows you to have pretty URLs using the URL rewriting system. However, it is a system that will have to be configured to be able to use it. If you are using apache you should have nothing to do as it will automatically generate a file .htaccess. On the other hand, if you are on nginx there will be a little more configuration to do by modifying the configuration to add the redirection to the file index.php of WordPress.

location / {
    try_files $ uri $ uri / /index.php?$query_string;
    autoindex on;
}

Read more