I recently installed wordpress, I am having problems trying to change the permalink format,
when I change the default permalink to day and time
Default http://127.0.0.1/?p=123 Day and name http://127.0.0.1/2015/03/16/sample-post/
the created link does not work, it gives the same error 404 all the time,
The requested URL /2015/03/16/post-5-problem/ was not found on this server.
But when the permalink type was the default, this works fine.
I found some solutions that
sudo a2enmod rewrite Module rewrite already enabled
Another solution is to change the permissions of the .htaccess mode to 666 (granting permission to write the .htaccess file to wordpress) before changing the default permalink to some other type,
sudo chmod 666 /address_of_.htaccess
I checked the .htaccess file
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
but the above seems to be correct, the above is included by wordpress itself
Both solutions do not seem to work, is there anything else to change permalink settings?