Error. Oops you've encountered an error

It appears that either something went wrong or the mod rewrite configration is not correct.

We need to allow Apache to read .htaccess files located under the /home/mrlbeta/public_html/ directory. You can do this by editing the Apache configuration file:

Find the section <directory /var/www/html> and change AllowOverride None to AllowOverride All

sudo nano /etc/apache2/apache2.conf

After editing the above file your code should be like this:

<Directory /var/www/>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted

In order to use mod_rewrite you can type the following command in the terminal:

sudo a2enmod rewrite

Restart apache2 after

sudo /etc/init.d/apache2 restart


sudo service apache2 restart