404 Not Found The requested URL was not found on this server WordPress and Ubuntu

Step 1. Edit in apache2.conf 

cd /etc/apache2
sudo gedit apache2.conf

Step 2. Here in apache2.conf change

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

Step 3. to

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

done!
  • 30 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

How To Add Multi Websites in Ubuntu 20.04

Here is the very simple method how to host multi websites on ubuntu   Open SSH or FTP using...

Install Let's Encrypt on Ubuntu 20.04

Step 1 — Installing Certbot sudo apt install certbot python3-certbot-apache Obtaining an...