Forum Moderators: open

Message Too Old, No Replies

Will spiders crawl a page with a php refresh header?

         

CMartin

1:46 am on Nov 9, 2003 (gmt 0)

10+ Year Member



Hi all,

Will search engines spiders index a page with the following code or they will 'see' the refresh header and ignore it?

---start of code---
<?php
header( 'refresh: 3; url=http://www.otherdomain.com' );
?>
<html>
<head>
<title>This is my page title</title>
</head>
<body>
Web page content

</body>
</html>
---end of code---

Carlos

tomsee

2:42 am on Nov 20, 2003 (gmt 0)

10+ Year Member



Carlos,

To be on the safe side, you might not want to use a refresh code. If a search engine spider thinks that you're trying to trick it with new title, keywords, and description, your site might get banned. Remember, spiders relies on the fact that your website has static content that might change slightly over certain time period.

BTW, what exactly are you refreshing on your home page?

CMartin

3:09 am on Nov 20, 2003 (gmt 0)

10+ Year Member



tomsee:

That was not my question ;-)

I know that some tricks can get me banned and so on...

I just would like to know how spiders might see the above refresh, and if they currently ignores meta "refreshes"... just that!

Anyway, thanks for your concerns.

Carlos