@maci
To stop the .htaccess redirect from a .html file to a .php file, you can remove or modify the redirect rules in the .htaccess file. Follow these steps:
1 2 3 |
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*).html$ $1.php [NC,L] |
1 2 3 |
# RewriteEngine On # RewriteCond %{REQUEST_FILENAME} !-f # RewriteRule ^(.*).html$ $1.php [NC,L] |
This will disable the redirect from .html to .php and allow the .html files to be accessed directly without redirection. However, if you have any existing links or references pointing to .php files, they may need to be updated accordingly.