My htaccess is as follows:\[code\]<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^moreinfo/(.*)$ http://www.kgstiles.com/moreinfo$1 [R=301] RewriteRule ^healthsolutions/(.*)$ http://www.kgstiles.com/healthsolutions$1 [R=301] RewriteRule ^(.*)\.html$ $1/ [R=301] RewriteRule ^(.*)\.htm$ $1/ [R=301]</IfModule>\[/code\]I am now using wordpress rather than straight html coding. The rewriterules above work to forward all of the old .html and .htm pages in the root directory and in /moreinfo/ and /healthsolutions/ directories. Unfortunately they also strip .htm and .html from wordpress pages (I thought they all ended in php initially). Now I see some of the basic functions like opening up the image editor in the visual editor of wordpress end in .html (using them produces a 404 error).So the question is: is there any way to restrict my rewriterules to certain directories, so Wordpress functions are not hindered?Any help is appreciated!