Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.



Recommended Posts

I've been working on my new site locally and it's almost done and ready to go live. I'm wondering though, what is the best way to serve up my index.php so that it's what people see when they type in my domain root. I was thinking either move everything from the catalog folder into the root, or have an index.html file that has the line <?php include("catalog/index.php"); ?>, or is there another better way to do it like using .htaccess or something? I would prefer to have an index.html so that the link will still work for any of my old customers with that page bookmarked, only I tried using that include line and it wasn't working, just giving a blank page.

Link to comment
Share on other sites

You could put an automatic redirection in the head of your index.html


<meta http-equiv="refresh" content="1; URL=http://www.yoursite.com/catalog/index.php">


As soon as they land on your site, the page will go to catalog/index.php



I used to be insane, but now I'm just nuts ;)

Link to comment
Share on other sites


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

  • Create New...