If you is tryng to install friendly URL automatic extension and it didn't works, try in your virtual host of apache2 (etc/apache2/sites_available/000-default.conf on Linux and standart instalation) to include this code after <VirtualHost *:80>:
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
Let it on the top, of course, after <VirtualHost *:80>
This resolved the problem with me. Maybe it is necessary to change in .htaccess the line RewriteEngine off to on:
RewriteEngine on
Reboot apache with:
sudo systemctl restart apache2
Thank you for Digital Ocean for the article How to Rewrite URLs with mod_rewrite for Apache on Ubuntu 20.04
Who is online
Users browsing this forum: No registered users and 22 guests