0 votes
43 views
the default wordpress post is given 404 not found in ubuntu apache2
asked in DigitalOcean by (780 points)

1 Answer

0 votes

Follow below step to solved this problem.

1 Open apache2.conf file via nano editor

sudo nano /etc/apache2/apache2.conf

2 Fine below line in apache2.conf file '<Directory /var/www/html>'.

3 Replace AllowOverride None to AllowOverride All.

4 Restart your apache2 server using -

 service apache2 restart

answered by (310 points)