/ Published in: PHP
Include this in any page you want to track for Google bot crawls.
Adapt it to your needs (eg: MySQL log instead of e-mail announcement, etc).
Adapt it to your needs (eg: MySQL log instead of e-mail announcement, etc).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php { if ($QUERY_STRING != "") { $url = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING; } else { $url = "http://".$SERVER_NAME.$PHP_SELF; } } ?>