Need help with a rule

Topics: Developer Forum
Jan 16, 2008 at 10:04 PM
In my Wordpress installation, I have the permalinks setup so that the following URL will work to get to this particular post:
http://domainname/wordpress/index.php/news/site_news/important-notice.htm

However, I would like for this URL to also work (the same thing, except without the "index.php"):
http://domainname/wordpress/news/site_news/important-notice.htm

My IsapiRewrite4.ini file contains just the following:
RewriteRule ^/wordpress/(?!index.php)(?!wp-)(.*)$ /wordpress/index.php/$1

I've used the testing utility that comes in the download, and the rule appears to be correct. It shows me
REWRITE '/wordpress/news/sitenews/important-notice.htm' ==> '/wordpress/index.php/news/sitenews/important-notice.htm'

Is the rule correct?
Thanks,
Grant
Coordinator
Feb 5, 2008 at 6:14 PM
seems to be?

The answer is up to YOU.