Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    .htaccess Slashdot User Redirect

    Sad to say that my site crashed (a phpbb forum) because of being listed in Digg (Just glad it wasnt slashdot). Anyways wondering if someone out there could make a .htaccess file so that if someone is being directed from the digg or slashdot website they are directed to the example.com.nyud.net:8090 page

    For example say suppost the url http://example.com/viewtopic.php?t=34 gets listed on slashdot or digg, i want to do a rewrite of the url so that it points here http://example.com.nyud.net:8090/viewtopic.php?t=34

    got this far,

    RewriteEngine on
    # Options +FollowSymlinks
    RewriteCond %{HTTP_REFERER} slashdot\.org [NC,OR]
    RewriteCond %{HTTP_REFERER} digg\.com
    RewriteRule ^/(.example.net:8090*)$ http://%www.example.com$1 [R]
    Last edited by raven007; 10-06-2005 at 02:36 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •