Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Url question (probably very easy)

Url question (probably very easy)

Locked

Views: 1,328

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
3 May 2008, 8:40 PM
#1
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

Url question (probably very easy)

This is probably a very easy question, but I just can't seem to figure it out. My domain name is https://www.ad-mineraal.nl but my zen cart is located at http://www.ad-mineraal.nl/zen/index.php How can I make sure when people type my domain name they end up in the store and not on an error page?

Thank you in advance,

Juliet van Ree

3 May 2008, 10:05 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Url question (probably very easy)

You need to move your Zencart files to the root of your site, and edit the 2 configure.php files to change the paths.

https://www.zen-cart.com/tutorials/index.php?article=122

3 May 2008, 10:23 PM
#3
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

Re: Url question (probably very easy)

Thank you so much for your anwer! That really helps me out!

5 May 2008, 10:28 AM
#4
binglebangle avatar

binglebangle

New Zenner

Join Date:
Sep 2007
Posts:
27
Plugin Contributions:
0

Re: Url question (probably very easy)

Are you using cpanel?

If so, it is very easy to setup a redirect from your main domain to your zencart folder, so anyone typing in:

http://www.ad-mineraal.nl/

gets automatically redirected to:

http://www.ad-mineraal.nl/zen/index.php

It should be in Cpanel > Redirects.

That will be much easier than moving your entire site.

5 May 2008, 1:17 PM
#5
afo avatar

afo

Totally Zenned

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

Re: Url question (probably very easy)

binglebangle:

Are you using cpanel?

If so, it is very easy to setup a redirect from your main domain to your zencart folder, so anyone typing in:

http://www.ad-mineraal.nl/

gets automatically redirected to:

http://www.ad-mineraal.nl/zen/index.php

It should be in Cpanel > Redirects.

That will be much easier than moving your entire site.

It's better to move the site. Bots and spiders don't generally like redirects. Moving the site is simple and better in the long run.

6 May 2008, 9:24 AM
#6
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

Re: Url question (probably very easy)

Thank you, but I don't have cpannel and I will move the site because of the seo.

6 May 2008, 11:13 AM
#7
nicko2 avatar

nicko2

New Zenner

Join Date:
Aug 2006
Posts:
25
Plugin Contributions:
0

Re: Url question (probably very easy)

Having zen in root is ok as long as you dont already have a website their with and index.php file. many users have their main website at root level and store in sub directory. Then just add links on your website to your store- simply!

6 May 2008, 12:56 PM
#8
afo avatar

afo

Totally Zenned

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

Re: Url question (probably very easy)

jvanree:

Thank you, but I don't have cpannel and I will move the site because of the seo.

Any webmaster panel should allow you to do what was suggested, but if you don't have an active website already or want to replace it, the root is the best place for Zen Cart. If your Zen Cart store is running as part of an existing site, nicko2's suggestion is right.