Forum Moderators: open
will the page get spidered or will the spider be rediredted?
<?PHP
$newlocation=header("Location: [webmasterworld.com...] or
die("Unable to send page. I must've already sent something to the
browser");
?>
i have an idea, lets call it the poor boy cloak.
how about we put asp line
<% Response.Redirect("http://www.webpage.com") %>
or the php as above, enable the server parsing of php orr asp on html page with some sort of htaccess file, submit our pages, watch for spiders, then enable the php or asp with the htaccess?
how would one write such a htaccess file for unix?
i know this is not exactly cloaking, but for what we want to do, i think it would work well!
many thanks for your thoughts
To avoid setting the redirection code which the spiders will detect, it would be better to read the content from a file and write it out after you have detected who the visitor is rather than doing a redirection as you described.