Page is a not externally linkable
scooterdude - 2:10 pm on Jan 8, 2013 (gmt 0)
Hi All, I am trying to return 410 gone for a few files removed from a domain which has wordpress on it now
# 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
The code above works if I comment out the last 2 rewrite rules, but if I leave them like above , server executes them
According to Apache documentation the [L] is implied, but even when I use [G,L] its not working