How can ı do a index html direct to wp index.php (Latest version of Wordpress). I reviewed the canonical.php but no result
1 Answer
You can use a simple .htaccess rule as described here.
RewriteEngine On
RewriteRule ^(.*)\.html$ $1.php [L]
Add this to the .htaccess file in the root of your website.