Forum Moderators: open
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
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?