Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Facebook Query String.


Pass_the_Dutchie - 11:49 am on Aug 4, 2010 (gmt 0)


We have the FB fan/like thinggy on our site and I noticed today that in WMT that a page with http://www.example.com/?_fb_q=1 is now a duplicate of our home page ("Google found the keyword widgets on these top pages:")

All I know is that this is something to do with Facebook and this URL is duplicating our home page. Gotta get its fixed.

I have tried the following 301 but I get 500 server error and would really appreciate any advice /syntax correction.

JDM, I found this on WebmasterWorld and tried to modify it ; ))

RewriteCond %{QUERY_STRING} ^q=.
RewriteRule ^search\.php$ http://www.example.com/search.html [R=301,L]

too:

RewriteCond %{QUERY_STRING} ^?_fb_q=.
RewriteRule ^?_fb_q=1$ http://www.example.com [R=301,L]

Thanks guys


Thread source:: http://www.webmasterworld.com/apache/4181734.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com