Forum Moderators: open
As my index file i have a index.php file that does a language detection and sends the user to the appropriate directory. For example, if someone went to mysite.com, the index.php file will do the relavant detection and redirect the visitor to mysite.com/english etc.. the index.php does this using the header location method. i.e:
header( "Location: english/" );
But what I am confused about is, how will search engines and directories see my site? do i need to add meta tags in the index.php file or what?
Any suggestions would be appreciated.
Cheers
Linda
Any suggestions would be appreciated.
Cheers
Linda
If the cache looks fine, then I would leave the redirection as is. From what I've seen of the PHP header redirects, most search engines should index the final destination page.
You might want to think about finding out how the redirection works though, or at least linking to the foreign language versions.
For example you may be missing out on search engine referrals if you send all the spiders to the English version. Having foreign language pages indexed can give you some good leads ;)