Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Can't seem to link to home.php

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 05-15-2007, 12:11 PM
 
Amateur Geologist Amateur Geologist is offline
 

Member
  
Join Date: Dec 2006
Posts: 28
 

Default Can't seem to link to home.php

Whenever I try to add a link (in a tpl file) to home.php home.php gets stripped out of the link.

For instance http://www.amateurgeologist.com/home.php becomes http://www.amateurgeologist.com/

/home.php becomes /

I want to add a link that takes customers back to the shop entry page and not my website entry page.

I haven't been able to find an option for this behavior.

Any ideas?
__________________
Dana Jeffries
www.amateurgeologist.com
www.usgeologicalsupply.com (XCart development)
Linux - RedHat Enterprise 4 i686
PHP/4.4.6, MySQL 4.1.21, Apache/1.3.37
XCart Pro 4.1.6 (Linux - dedicated server)
Affiliate,Gift Reg, Special Offers,Feature Compare
BCSE: CDSEO2 Links, CDSEO Links Pages, XNews, XNewsSEO
CL: CSS4.1x
WCSM: Anonymous Cart,
FTS: Advanced Product Search, Newest Products
Reply With Quote
  #2  
Old 05-15-2007, 12:22 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,189
 

Default Re: Can't seem to link to home.php

This is a feature of CDSEO to prevent duplicate content. We recommend using your store front as your index page and loading it from the domain with this code in an .htaccess file:

DirectoryIndex home.php index.php index.html index.htm

If you don't want to do this, you can link to index.php instead of home.php
__________________
|
Our clients strive to be the best in their industry.
We position you for success with our strategically integrated approach to software, search engine optimization and social media.

E-COMMERCE FUTURE
https://www.stackdigital.com

LINKEDIN
https://www.linkedin.com/in/smackdigital
Reply With Quote
  #3  
Old 05-15-2007, 12:25 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Can't seem to link to home.php

Moving to Third Party Add-ons as this is not an X-Cart bug.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 05-15-2007, 12:26 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Can't seem to link to home.php

AND -- for SEO, ALL links to your home page MUST be identical. If this were my site, I'd put xcart into the root, and NOT use a landing page.

the link to my home page is: "/"

(this assumes you have DirectoryIndex set as Jon described above)
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 05-15-2007, 05:09 PM
 
Amateur Geologist Amateur Geologist is offline
 

Member
  
Join Date: Dec 2006
Posts: 28
 

Default Re: Can't seem to link to home.php

Thanks. This helps.


My initial shop set-up, fromrears ago and with Shopsite, has been a landing page and content links. The content has been feature articles, a dictionary of geologial terms and firld trip reports. The content is to pull people to the site.

The features and field trip reports contain references to products. For instance a geologial field trip will reference roadside geology books. The gutter on the right has products releated to the article.

I originally did think that I'd be able to combine the model using XCart.

I guess what I'm looking for is a tree hierarchy for static pages.

I could use categories as content pages but I don't want to mix store and content pages.

Come to think of it I could probably use categories and then use dynamic filtering to separate the two trees.

Thanks again.
__________________
Dana Jeffries
www.amateurgeologist.com
www.usgeologicalsupply.com (XCart development)
Linux - RedHat Enterprise 4 i686
PHP/4.4.6, MySQL 4.1.21, Apache/1.3.37
XCart Pro 4.1.6 (Linux - dedicated server)
Affiliate,Gift Reg, Special Offers,Feature Compare
BCSE: CDSEO2 Links, CDSEO Links Pages, XNews, XNewsSEO
CL: CSS4.1x
WCSM: Anonymous Cart,
FTS: Advanced Product Search, Newest Products
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:38 PM.

   

 
X-Cart forums © 2001-2020