Switch from mod_php to FPM: sudo apt install php7.4-fpm sudo a2enmod proxy_fcgi sudo a2enconf php7.4-fpm sudo a2dismod php7.4 sudo a2dismod mpm_prefork sudo a2enmod mpm_event sudo systemctl restart apache2 Enable mod_http2: sudo a2enmod http2 sudo systemctl restart apache2 Add this to /etc/apache2/apache2.conf to enable HTTP/2: Protocols h2 http/1.1 Verify at https://http2.pro/
apache
Fixing/Enabling WordPress Permalinks on Ubuntu/Apache
Apache Settings Enable rewrite module: ~$ sudo a2enmod rewrite Edit Apache configuration file: (I only have one site enabled) ~$ vim /etc/apache2/sites-enabled/000-default Change AllowOverride None to AllowOverride All Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Restart Apache: ~$ sudo service apache2 restart WordPress Settings Settings -> Permalinks Enable your desired permalinks […]