At the moment, when you go to www.mydomain.com, I have the following simple index.php:
<?php /* Redirect browser */ header("Location: http://www.mydomain.com/xf"); /* Make sure that code below does not get executed when we redirect. */ exit; ?>
However, I'm guessing that this is pretty terrible from an SEO point of view; is that right? Should I have anything else in there? What about all the usual "DOCTYPE" and "meta" shenanigans that you normally see at the top of an HTML page; should I have some of that in there? If so, what?
TL;DR = Would anyone be kind enough to show a n00b like me exactly what code would be in an ideal index.php in order to redirect to the installation sub-folder, including any important "behind the scenes" gubbins?