Forum Moderators: phranque
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^unwanted/file-directory/file1\.htm$ - [G,NC]
RewriteRule ^unwanted/file-directory/file1\.htm$ - [G,NC]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^unwanted/file-directory/file1\.htm$ - [G,NC]
RewriteCond %{REQUEST_URI} !^unwanted/file-directory/file1\.htm$
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_URI} !^unwanted/file-directory/file1\.htm$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress