Page is a not externally linkable
boasting_j - 8:50 pm on Nov 27, 2012 (gmt 0)
@g1smd Thanks for your help. I was finally able to get it working. I had to comment out some of the codes from the initial workaround and do some rearranging. It looks like it is working 100%. Here is the sample of what worked and it kept the 404s working.
DirectoryIndex index.php
Options -Indexes
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
ErrorDocument 404 /customerrors/404.html
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.example.com/ [R=301,L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
## RewriteRule . /index.php [L]