SEO: Using .htaccess to redirect www-root directory to www/home/
Posted on 2007-11-25
I want to know if the following is terrible or not with respect to SEO:
I have a small-site, structured in a pretty standard way: each page has its own directory off of the www root directory. I have a navigation bar file (located at the www root) that I include via php-includes on each page. My directory structure makes the nav-bar's references nice and simple. I have these pages:
My nav-bar file looks like this:
<a href="../contact/index.php">Contact Us</a>
Then I just use a <?php include("../navBar.php"); ?> statement on each page to include my nav-bar.
But when someone navigates to http://www.mydomain.com/ , I need them to end up at www/home/index.php. So, at the root of the site (ie, the www directory), I have a .htaccess file that redirects to the home directory via the following line:
So what are the implications of that design with respect to search-engine friendliness?