Page is a not externally linkable
lucy24 - 1:08 am on Oct 21, 2012 (gmt 0)
Are all pages on this site html? If so, an alternative fix is to turn off
:: shuffling papers ::
AcceptPathInfo. It's a free-standing line in your htaccess:
AcceptPathInfo Off
The horse's mouth [httpd.apache.org] says:
A request will only be accepted if it maps to a literal path that exists. Therefore a request with trailing pathname information after the true filename such as /test/here.html/more in the above example will return a 404 NOT FOUND error.
You can only do this if there is no php or similar on your site, because dynamic pages use the extra part. The default setting-- which is officially called Default-- tells the server to ignore anything after static extensions like "html", but to retain it after dynamic extensions like "php".
In any case there's absolutely no reason for them to be putting in that extra stuff. Do they think you have special php routines that do nice stuff for requests that come in with fb_blahblah queries? Are there CMSs that really do do nice stuff? Hm.
Oh yes. Option C, if the above isn't possible:
RewriteCond %{QUERY_STRING} .
RewriteRule ^([^.]+\.html) http://www.example.com/$1? [R=301,L]