I am trying to make sure that my DNS entry and hosting configurations are correct. My host (hostasaurus) says that I have two options to make sure that the first page someone sees when they enter the store url at www.mysite.com is to use either a .htaccess file or index.php file.
The instructions say that the .htaccess method is "less preferable" than the index.php file.
To implement the index.php file, they say the file needs to contain:
<?php
header("HTTP/1.1 301 Moved Permanently");
header ( "Location: /Merchant2/merchant.mvc" );
?>
My question is that since this is a "redirect", will search engines cough on this? I thought that they hated these kind of things.
Is .htaccess the preferred way of doing this?
Thanks
Fredric Gluck
MarketThink, LLC
The instructions say that the .htaccess method is "less preferable" than the index.php file.
To implement the index.php file, they say the file needs to contain:
<?php
header("HTTP/1.1 301 Moved Permanently");
header ( "Location: /Merchant2/merchant.mvc" );
?>
My question is that since this is a "redirect", will search engines cough on this? I thought that they hated these kind of things.
Is .htaccess the preferred way of doing this?
Thanks
Fredric Gluck
MarketThink, LLC
Comment