Sunday, June 8, 2014

Wordpress Error 404 on Ubuntu 14.04

Leave a Comment
I got frustrated with this problem. just learning ubuntu and make the simple web with wordpress.

the problem is when I try to change the original url wordpress clean url.

When we replace the clean url in wordpress installed in ubuntu 14.04, appear error 404. these solutions I found.



sudo nano /etc/apache2/sites-available/000-default.conf
then add this line below "DocumentRoot /var/www/html"

<Directory "/var/www/html">
    AllowOverride All
</Directory>
Save and exit the nano editor via CTRL-X, “y” and ENTER.

Restart Server
sudo service apache2 restar
:)
 
Read More...