Please, I have a question in .htaccess (or apache).
I need to redirect any url containing .html or .htm extension to a specific url. Example:
- domain.com/test.html - > domain.com/page
- domain.com/teste123.htm - > domain.com/page
Follow the current .htacces:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thanks for the help.