Custom RewriteRule in .htaccess ?
-
Hi,
Just installed a fresh copy of WP 2.8 and i’am trying to setup a custom RewriteRule in .htaccess. The RewriteRule should rewrite https://domain.com/keyword.html to https://domain.com/index.php?searchterm=keyword
But when visiting https://domain.com/keyword.html i only get 404 message. Does anybody know why it’s not working? Here is my .htaccess file:
RewriteEngine On
RewriteBase /
RewriteRule ^(.*).html$ index.php?searchterm=$1Sure would be grateful for any help ??
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom RewriteRule in .htaccess ?’ is closed to new replies.