Question

404 not found after changing permalinks to post name in wordpress

  • Posted August 18, 2014

Clean default wordpress installation, all fine, just when I change permalinks in wordpress settings to post name, the default wordpress post is given 404 not found. Any help would be appreciated.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ok, found the solution,

<Directory /path/to/site>
     #add the following setting to allow .htaccess in your web dir to work
     AllowOverride All

     #other settings ---

</Directory>

and thats in the /etc/apache2/apache2.conf file

be sure to add mod_rewrite and restart apache after that

sudo a2enmod rewrite

sudo service apache2 restart

same her how to solve this problem

this is unbelievable ! I just dont have the solution, anybody please help !! My .htaccess

# BEGIN WordPress
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

rewrite_module is on

and still 404…

and mod_rewrite is enabled…