Forum Moderators: phranque

Message Too Old, No Replies

Redirect unwanted visitors from search engine to another page?

         

Jesse_Smith

11:39 pm on Dec 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



domain.com/aid/8892124430631224127/bc.chat?cwdid=3193729435149232271&&DI=293
&IG=ec836a6c594c48b085d88006b1f57ce8&POS=4&CM=WPU&CE=1&CS=AWP&SR=1

is #1 for a certian chat term on MSN with 146,888,093 results.

How do you redirect visitors to another page? (It's not even a chat room, but a form to send an E-Mail and it's not fun geting bombed with E-Mail from people thinking they are chating!)

jdMorgan

5:44 am on Dec 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So are you looking to redirect only requests for that page and query string referred only by MSN search, and only if the specific term was searched for?

More detailed requirements = more detailed answers...

JIm

Jesse_Smith

6:59 am on Dec 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just that URL, just from MSN, and for just one two worded search term.

jdMorgan

4:20 pm on Dec 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For use in top-level .htaccess file:

RewriteCond %{HTTP_REFERER} ^http://search\.msn\.[\?]+\?q=[i]word1[/i]\+[i]word2[/i]&
RewriteCond %{QUERY_STRING} ^cwdid=3193729435149232271&&DI=293$
RewriteRule ^aid/8892124430631224127/bc\.chat$ http://www.example.com/[i]another_page.ext[/i] [R=301,L]

I assume you already have other rewriterules and the configuration directives required to enable mod_rewrite on your server.

Jim