Jump to content

How can I show index.htm vs. index.php? - PS within website


Recommended Posts

I would like to have PS as a 'Store' link within my website.  Right now the PS storefront displays when i go to mywebsite.com (index.php) and I would like it show my own page (index.htm).

 

I uploaded my index.htm file to the server along with its index_htm_folder.  I cleared my cookies/cache but the storefront still displays instead of my file.

 

How do I show my index.htm file instead?

 

Thanks

Edited by Copernican Theory (see edit history)
Link to comment
Share on other sites

your host is defined to show index.php file first (if exists), and if index.php file will not exist - host will try to open index.html.

if you want to change this behaviour - in this case you have to alter apache configuration (if you use apache service) in httpd.conf, search there for DirectoryIndex and change order of the files to fit your needs

 
for example, instead:
DirectoryIndex index.php index.html

use

DirectoryIndex index.html index.php

warning !

this change can affect prestashop!!!

Link to comment
Share on other sites

Ok - that makes sense - thank you.

 

About it affecting PS, is this how I would configure it so that when a customer goes to my site they first encounter the website and then click a button to enter the store?

 

What kind of drastic affects would this change have on PrestaShop?

Edited by Copernican Theory (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...