Mobile app version of vmapp.org
Login or Join
Angie530

: Will Google index a PHP header redirect? I have a new domain which has an index.php file. Inside this file, I get user's IP, save it and redirect to another page on another domain. So there

@Angie530

Posted in: #Googlebot #Indexing #Php

I have a new domain which has an index.php file. Inside this file, I get user's IP, save it and redirect to another page on another domain. So there is no output, only header info. Will Google index this domain?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie530

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kevin317

No, they will not. Search engines follow redirects and the final landing page gets credit for any links, etc, that the original URL has. So that first domain will have no SEO value. So doing this like having a keyword rich domain redirect to another domain has no value and isn't worth doing (as an example).

To follow up on this, search engines don't see nor care where a redirect comes from. So a redirect from PHP or htaccess or something else are all the same to them.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme