View Single Post
  #47  
Old 05-31-2006, 02:17 PM
 
taltos1 taltos1 is offline
 

Senior Member
  
Join Date: Mar 2005
Location: USA
Posts: 160
 

Default

Hmm. I have read over the post in this thread numerous times and there are numerous solutions it seems. It seems to me at least the two best for SEO are:

From page 2, TelaFirma 's
Code:
Redirect permanent /index.html http://www.yoursite.com/catalog/index.html Redirect permanent /index.php http://www.yoursite.com/catalog/index.html Redirect permanent /index.htm http://www.yoursite.com/catalog/index.html

And from page 4, moneysaver67's
Code:
<?php //This part takes the html from your front page and turns it into a string. // Replace 'shop' with your x-cart directory. // This mod allowed for proper evaluation of the PHP code on our server. // Prior example worked, but simply output the PHP-skeleton, if you will. $contents = file_get_contents("http://".$_SERVER[SERVER_NAME]."/shop/home.php"); //These functions change the paths of most x-cart related links to their // original locations. Change 'shop' to your x-cart directory name. $contents = ereg_replace("home.php","shop/home.php",$contents); $contents = ereg_replace("product.php","shop/product.php",$contents); $contents = ereg_replace("help.php","shop/help.php",$contents); $contents = ereg_replace("search.php","shop/search.php",$contents); $contents = ereg_replace("cart.php","shop/cart.php",$contents); $contents = ereg_replace("register.php","shop/register.php",$contents); $contents = ereg_replace("pages.php","shop/pages.php",$contents); //This spits out your the html code and the browser does the rest. echo $contents; ?>
and the rest of his mod.

Now I am still confused as to what is best? Anyone have any input?

Thanks a lot
__________________
X-Cart Gold Version 4.0.18
EWDHosting.com is my Host
Unix Servers
Reply With Quote