Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I change link to home?

How do I change link to home?

Views: 30,492

Results 41 to 60 of 80
12 Dec 2008, 10:42 PM
#41
cyberphreaksllp avatar

cyberphreaksllp

New Zenner

Join Date:
Dec 2008
Posts:
5
Plugin Contributions:
0

How do I change link to home?

ok so none of this made any scents to me i tried all of them and still my link does not goto the right directory. i need my link to stop going from http://www.rottenappleind.com/zentcart/ and goto http://www.rottenappleind.com/ also due to the fact that my server will not redirect to /zencart it gives a index'ing error

:oops:

Never mind this post i fixed it via the index'ing server on my host provider....

Directory Indexes

If you have control over this part of your server add this line to it:

zencart/index.php index.php

PAY VERY CLOSE ATTENTION TO THE SPACES!!

12 Dec 2008, 11:42 PM
#42
giftoffer avatar

giftoffer

New Zenner

Join Date:
Nov 2008
Posts:
8
Plugin Contributions:
0

Re: How do I change link to home?

I would like to exchange reciprocal links with my new web site https://WWW.GIFTOFFER.CO.UK

9 Jan 2009, 4:56 AM
#43
incognito avatar

incognito

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

Re: How do I change link to home?

I would like to change the Home links to website.com/index.php

There is an index.html that loads when I go to website.com and the home links go there instead of to the index.php.

I've already changed the tpl_header and footer per post 20, but still get sent to the index.html

Any ideas?

Thanks!

new install v 1.3.8a

9 Jan 2009, 5:50 AM
#44
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I change link to home?

Post 20 was for a different case.
You need to chane instances of

<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'

To:

<a href=http://.webname.com/index.php>'  or the www version
15 Sep 2009, 9:06 PM
#45
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

I am not actually changing my link to my root folder i have a sub domain for my store and I entered that like coded int he above post and I get a page load error.

But, i am able to type the same URL in by hand it goes right to the page.

Brian

15 Sep 2009, 9:24 PM
#46
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

Ok i figured that out the sub domain, but ALL other links on the sit still reveal the folder info, is there a way i can get the zencart folder to be hidden under the subdomain for all links?

Thanks,
Brian

16 Sep 2009, 12:35 AM
#47
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I change link to home?

Jeffries Productions:

ALL other links on the sit still reveal the folder info
What are your details???
ZenCart version?
How this was installed?
Where it was installed initially? (path)
If you relocated it to this sub-domain?
etc...???

16 Sep 2009, 9:15 PM
#48
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

I have the latest version of ZenCart with the security patch installed.

The current path to the store is:
http://www.flyteusa.com/flyteusa/zen-cart-v1.3.8a-full-fileset-12112007/

This is where i originally installed, and i never relocated it i just set up a sub domain to point at that folder location.

the subdomain is:
shop.flyteusa.com (this will take you right to the index.php)

When the entire site is live the url will be:
http://www.flyteusa.com/zen-cart-v1.3.8a-full-fileset-12112007/

16 Sep 2009, 9:35 PM
#49
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

[Sorry, the person that i am building this site for messed with the primain domain in the hosting account so the sub domain will not work. If you dontmind trying back in about an hour so i can get this sorted out. 2:30pm 09/16/09]

16 Sep 2009, 9:54 PM
#50
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do I change link to home?

Jeffries Productions:

When the entire site is live the url will be:
http ://www .flyteusa.com/zen-cart-v1.3.8a-full-fileset-12112007/I would STRONGLY suggest that you rename the "zen-cart-v1.3.8a-full-fileset-12112007" part to something more suitable.

16 Sep 2009, 11:19 PM
#51
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

Last time i renamed it, the whole site would not work. i got a blank page. Is there a fix to that? I am still working on getting the domains fixed.

18 Sep 2009, 3:00 AM
#53
joanna avatar

joanna

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: How do I change link to home?

ccaines - thanks so much for the detailed explanation! SO much appreciated! And it worked GREAT!

18 Sep 2009, 8:56 PM
#54
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

Ok so I followed the tutorial on how to rename your zen directory, I read it through then i executed step by step. It did not work, so i reloaded the original configure files and now the site will not load at all.

Any suggestions on how to fix this.

Brian

18 Sep 2009, 9:06 PM
#55
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I change link to home?

Jeffries Productions,
Don't know how this belongs here - why not your own thread properly titled....

Post nonsensitive parts of your configure.php file - use the code tags to enclose it

18 Sep 2009, 9:19 PM
#56
Join Date:
Sep 2009
Posts:
40
Plugin Contributions:
0

Re: How do I change link to home?

yeah if you read some of my prior posts in this thread, my concern was changing my home link. Someone else told me to change it.

18 Sep 2009, 9:21 PM
#57
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I change link to home?

Jeffries Productions,

Where is the contents of your configure.php file?

19 Sep 2009, 4:24 PM
#58
dragonfibers avatar

dragonfibers

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: How do I change link to home?

I've been looking through this thread and I was wondering how I can do the reverse. Right now my Home links back to my main website and I want it to link to shop.domain.com

I did originally install zencart in the main domain before deciding I wanted it moved and did a straight copy to the subdomain. Could this be the problem and what do I need to do to fix it?

19 Sep 2009, 4:34 PM
#59
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I change link to home?

dragonfibers:

Could this be the problem and what do I need to do to fix it?
What did you initially alter to change it?

20 Sep 2009, 12:53 AM
#60
dragonfibers avatar

dragonfibers

New Zenner

Join Date:
Sep 2009
Posts:
3
Plugin Contributions:
0

Re: How do I change link to home?

I didn't change a thing in the tpl_header.php file that everyone else seems to be modifying to direct you to the specific destination. Mine still had the HTTP_SERVER . DIR_WS_CATALOG . code.
I've moved the entire cart software to the shop.site.com but I'm wondering if because it wasn't originally there I need to change some code or preferences to direct it to the new location.
I'm fine hiding the Home in the breadcrumbs but obviously since I want to keep the main site as a static index.html page because of other retail options I need the header and footer links to go back to main shop index.php
Any ideas?