Forums / Templates, Stylesheets, Page Layout / How do I make domain go to my zen cart ?

How do I make domain go to my zen cart ?

Locked

Views: 4,267

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
7 Dec 2007, 8:22 PM
#1
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

How do I make domain go to my zen cart ?

How do I make my domain name go directly to my store? That way If some one types in my domain name it will automatically take them to to my store url ?

7 Dec 2007, 8:27 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

If Zen Cart is installed in the root directory, the url should already point to it. (see both sites in my sig)

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

7 Dec 2007, 8:34 PM
#3
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

it's in my public_html. It just goes to my index :(

7 Dec 2007, 8:36 PM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

If it's in public_html, the url should be going to it directly. If you have an index.html in your public_html, either delete it or rename it because it will load instead of index.php (your ZC store).

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

7 Dec 2007, 9:11 PM
#5
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

I deleted the index.php but it still goes to" Index of /"

7 Dec 2007, 9:24 PM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

DravenLS:

I deleted the index.php but it still goes to" Index of /"

Why did you do that? It's not what I said. I said if you have INDEX.HTML in your public_html, you have to delete or rename it.

If you have Zen Cart unzipped on your local drive, upload index.php to your website again.

Can you post the url for your site?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

7 Dec 2007, 9:28 PM
#8
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

i didn't delete the one in my zen cart, just the one I had for my site before i got zen cart

7 Dec 2007, 9:29 PM
#9
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

You have Zen Cart installed in /store, not in the public_html directly. You can move everything from /store to public_html and edit admin/includes/configure.php and includes/configure.php to point to the root instead of /store

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

7 Dec 2007, 9:30 PM
#10
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

DravenLS:

i didn't delete the one in my zen cart, just the one I had for my site before i got zen cart

Phew!

Nice looking site!

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

7 Dec 2007, 9:33 PM
#11
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

No, I renamed Zen-Cart to store

7 Dec 2007, 9:36 PM
#12
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

Thanks :) I still have a lot of items to add lol.

7 Dec 2007, 9:42 PM
#13
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

You have Zen Cart installed in its own folder which is why the url isn't pointing directly to it. You'll have to move all the folders and files under /store to the root (public_html) and change the two configure.php files I mentioned earlier to point to the root instead of /store. I had to do the same for the Fan Odyssey site in my sig when I moved it from its own folder to the root to replace the old site.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

7 Dec 2007, 9:51 PM
#14
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

Ok, I can do that, not much different than when I changed the store name

7 Dec 2007, 11:45 PM
#15
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

Why not just put in a redirect from the domain to the store directory?

8 Dec 2007, 3:54 AM
#16
blake81 avatar

blake81

New Zenner

Join Date:
Dec 2007
Posts:
42
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

digidiva-kathy:

Why not just put in a redirect from the domain to the store directory?

That's what I did for my store. I'm still debating on whether or not that was the best way to handle it. My ZenCart is in "/store", so I have this code in my index.html on the server root:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Your Page Title</title> <meta http-equiv="REFRESH" content="0;url=http://www.blakesdesigns.com/store"></HEAD> <BODY> You will be redirected to our store.. </BODY> </HTML>
8 Dec 2007, 3:56 AM
#17
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,667
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

You might Google for meta refresh and see what the experts say about that .

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

8 Dec 2007, 4:05 AM
#18
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

Because it's silly to have a redirect when you can just have your site readily accessible from your url. As Kim hinted, spiders and bots (which index your site to make it available to searching with Google, Yahoo...) don't like redirections.

Just put the site in the root and change the two config files. It's cleaner, simpler and just plain makes more sense.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

8 Dec 2007, 5:18 AM
#19
dravenls avatar

dravenls

New Zenner

Join Date:
Nov 2007
Location:
Ohio
Posts:
70
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

yeah.... I also want to change it in my zen cart admin site in the sessions area before changing it to public_html or else nothing will work....heh. think I'll leave that for morning maybe

8 Dec 2007, 5:36 AM
#20
digidiva_kathy avatar

digidiva_kathy

Zen Follower

Join Date:
May 2006
Posts:
323
Plugin Contributions:
0

Re: How do I make domain go to my zen cart ?

Aaah, I must admit that I didn't think about that because for the clients I mostly do Zen work for, there is always something else...a blog, a gallery, a forum, etc... and they're all in other directories so I usually just do either a splash page or just a simple redirect.