Redirect if user agent is not a feed reader?

Discussion in 'Site & Server Administration' started by ahkip, Nov 10, 2006.

  1. #1
    I 've found Google ranks some of my feed higher than the actual page. I would like to redirect to the actual page if user agent is not feed reader.

    Just wonder if i can do it with .htacces
     
    ahkip, Nov 10, 2006 IP
  2. disgust

    disgust Guest

    Messages:
    2,417
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes, it's possible. you can use RewriteCond & the HTTP_USER_AGENT environmental variable.

    you'd need a full list of feed readers though...

    not to mention it could screw up syndication.

    a better way to do it may be to redirect if the user is coming from google.

    or block them with robots.txt
     
    disgust, Nov 10, 2006 IP