View Single Post
Old 2008-10-03, 06:18 PM   #6
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
The only way to do it without a referrer that I can think of would be to send them to a page that did a meta-refresh with a 0 second delay

Code:
<meta http-equiv="refresh" content="0;http://newsite.com/">
I don't believe that you can use javascript as it will show the original site.

so, to use the refresh, set your errordocument 404 to head to the page with your meta refresh, then, have the metarefresh page set to send them to the new page.

Using Redirect or mod_rewrite will send the referrer in the request.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote