1. You may also need to modify apache2.conf file.   

        sudo nano /etc/apache2/apache2.conf

2. Change your web directory override rule to AllowOverride All

 <Directory /var/www/>

        Options Indexes FollowSymLinks

        AllowOverride All

        Require all granted

    </Directory>

3. sudo a2enmod rewrite

4. sudo service apache2 restart