Zen Cart Logo
Forums / Installing on a Windows Server / Accessing the store on the home page

Accessing the store on the home page

Locked

Views: 1,262

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 Mar 2010, 12:56 AM
#1
miam avatar

miam

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Accessing the store on the home page

I know the answer is probably so simple but I've scoured the forums and FAQs and couldn't find the solution.

I've installed the cart and it's working properly but how do I get the store to immediately open on the index page when a customer first types in my store url instead of them having to go to https://www.example.com/store?

31 Mar 2010, 1:27 AM
#2
twaddle avatar

twaddle

Banned

Join Date:
Jul 2009
Location:
Prague, Czech Republic
Posts:
478
Plugin Contributions:
0

Re: Accessing the store on the home page

Search Google for htaccess 301 redirect

But it's easy as creating a text file, save it as htaccess.txt on your PC, upload it to your root directory and rename it to .htaccess (note the dot before htaccess)

Quick example as to what you would include in the file:

redirect 301 /index.html/ [URL]http://example.cz/shop/[/URL] 
31 Mar 2010, 1:31 AM
#3
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Accessing the store on the home page

That would entirely depend on your installation. As I see it your store is installed in the sub directory https://www.example.com/store

If you don't want to use your domain https://www.example.com for something else (eg general information with your store appended) then I would move / install the store in the root directory example

My site https://www.frnt.org contains general health information with my stores appended (see signature)

Or simply follow Twaddle's advice

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

31 Mar 2010, 2:37 AM
#4
miam avatar

miam

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Accessing the store on the home page

Thanks to both of you. I knew it was that simple. I couldn't do the 301 redirect because I'm on a windows server but it never occurred to me to install everything directly to the root folder. For some reason I had it in my head that I had to keep it contained in the store folder.