View Single Post
Old 2008-01-26, 05:26 PM   #4
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Code:
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* http://whereyouwanttosendthem/ [L,R=301]
You may want to add the R=301 to give the surfer a 301 redirect. The default mod_rewrite redirect is a 302, which is a temporary redirect and was the cause of 'google scraping' where the temporary redirect and resulting page were considered dupes.

If its an unconditional redirect, you don't even need the RewriteCond rule to be there.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote