How To Fix Permalink /%postname%/ 404 not found


1). chmod 666 .htaccess
2). chown www-data:www-data .htaccess
3). a2enmod rewrite
4). cd /etc/apache2/
5). sudo vim/apache2.conf

change "AllowOverride None" to "AllowOverride All"

Options Indexes FollowSymLinks
AllowOverride All
Require all granted

save
4). /etc/init.d/apache2 restart
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s