How to Enable .htaccess in Apache2 Ubuntu Server
Commands used to fix the problem are
sudo a2enmod rewrite
sudo nano /etc/apache2/sites-available/000-default.conf
--------------------------------------------------
sudo systemctl restart apache2
To subscribe this channel -
https://www.youtube.com/@123codings2?sub_confirmation=1