Forum Moderators: open
RewriteCond %{QUERY_STRING} fb_locale
RewriteRule (.*) http://www.example.com/$1? [R=301,L] RewriteCond %{QUERY_STRING} . But attaching their "locale" (language) to your URL just seems sloppy.
If FB needs the extra information for internal administrative purposes, fine, but that doesn't mean everyone else has to put up with the clutter.
Right now, major search engines don't "see" FB links.
so I added the QUERY_STRING rewrite
Hmm. Even though Fb's clearly not doing translations on demand -- lookout Google Translate?
Do I need to put the couplet in every possible dir, or is there another solution, please?
example.com/dir/filename.html?fb_locale=nl_NL
That incorrectly becomes:
example.com/filename.html
RewriteOptions inherit I reckon I could also just add the following to root and axe all of Fb's permutations
'plain' root, not .html-suffix files per se
Facebook is different because they do ask for image files-- but presumably only if they've first seen the page, so they'd know what images to ask for.
In English?
so the program follows that link and gets the file type it is seeking (in this case jpg, png, gif, etc.)
31.13.97.113 - - [15/Feb/2014:19:34:48 -0800] "GET /hovercraft/hovercraft.html HTTP/1.1" 200 16238 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)"
31.13.97.117 - - [15/Feb/2014:19:34:49 -0800] "GET /hovercraft/hovercraft.html?fb_locale=de_DE HTTP/1.1" 403 1124 "-" "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)" Pfui, is it always 31.13.etcetera? Does Facebook Ireland cover the whole non-English-speaking part of the world?
Your page, or your entire file hierarchy is crawled and the indicated files are retrieved.
/../example.jpg