1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to redirect all incoming searches?

Discussion in 'Black Hat SEO' started by pennystocks, Dec 27, 2010.

  1. pennystocks

    pennystocks Junior Member

    Joined:
    Jun 16, 2010
    Messages:
    139
    Likes Received:
    15
    Occupation:
    Anything Online
    Location:
    Montreal
    Home Page:
    anyone know how to redirect all incoming traffic to my home page?

    for example if someone searches and clicks a result which is direct to such and such article on my website i wa
    nt them to be directed to the homepage instaed


    is there a wp plugin for this?
    Posted via Mobile Device
     
  2. masteraffmarket

    masteraffmarket Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 5, 2008
    Messages:
    585
    Likes Received:
    448
    Occupation:
    Owning Google
    Location:
    Inside Your Mind
    Home Page:
    you have to play with the .htaccess
    Posted via Mobile Device
     
  3. JunglePocket

    JunglePocket Registered Member

    Joined:
    Jan 2, 2008
    Messages:
    86
    Likes Received:
    109
    Add this into your htaccess file:

    Code:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^(.+)$ / [R=302,L] 
    or try this one instead:

    Code:
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !^/$
    RewriteRule ^(.*)$ %{HTTP_HOST}
     
  4. popzzz

    popzzz Supreme Member

    Joined:
    Apr 12, 2009
    Messages:
    1,337
    Likes Received:
    13,699
    Location:
    Don't touch the REP!
    Why would you want to do that?

    How would you feel if you click a link to what you are searching for and are
    taken to the homepage instead only to have to figure out where it is all over again?


    Doesn't look like it could be a good thing IMHO.

    Enjoy ..... :cool2:
     
    Last edited: Jan 11, 2011