Codes
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]<?php phpinfo(); ?>
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress# Use PHP74 as default AddHandler application/x-httpd-php74 .php <IfModule mod_suphp.c> suPHP_ConfigPath /opt/php74/lib </IfModule>