0
Please I have a question on . htaccess (or apache).
I need to redirect any url that contains extension .html or .htm to a specific url. Example:
- domain.com/test.html -> domain.com/page
- domain.com/test123.htm -> domain.com/page
Follows 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.
Hey, try this on - Friendly URL’s
– Edilson