Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

How do i link the store cart to the index.html


Recommended Posts

if you are using apache it is done in the httpd.conf file, that is what tells the server were the web root is located and also what pages to look for. in the file there is a spot that list index.html default.html index.htm and so on. you should just be able to add in the default.php and then you will have gotten rid of the last part. but you will still have to take care of the catalog side of it, I think if you just make you catalog folder the web root then you can go to www.mysite.com and it will work.


You can also create an alias for the folder to point to mysite.com instead of mysite.com/catalog

Link to comment
Share on other sites

Ok now you are confusing me, what exactly do you want?


I assume you are wanting to make it so you do not have to type mysite.com/catalog/index.php, and you would prefer to just type mysite.com


if this is so then you will want to do what I mentioned beforego in your httpd.conf file and make your /catalog folder the root web, and add default.php to your catalog folder.


I you do not want to do this a easier way would be to make a index.html file in your root web and place this in it



<html><head><meta http-equiv="Refresh" content="0; URL=http://www.mysite.com/catalog/default.php">




Then what would happen is they would type www.mysite.com and the page would load for a split second, and redirect them to mysite.com/catalog/default.php automatically.


It works and is not really noticable.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...