Zen Cart Logo

Link to a catagory?

Locked

Views: 1,388

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Jul 2006, 4:11 PM
#1
teoti avatar

teoti

New Zenner

Join Date:
Oct 2004
Posts:
38
Plugin Contributions:
0

Link to a catagory?

right i've got a few different categories on my shop, but i'd like to link directly to one of them from a seperate website.

Is there a simply way to link to an addres like www.myshop/upgrades/ with upgrades being my category etc?

25 Jul 2006, 6:55 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Link to a catagory?

Try loading your store and the category that you want to link to. It will appear something like this:

http://www.your_domain.com/index.php?main_page=index&cPath=1

this would be your link.

25 Jul 2006, 10:53 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,715
Plugin Contributions:
56

Re: Link to a catagory?

... and of course, strip out the zenid if one exists in the URL you are copying.

Another option is to link to your sitemap.

Good luck,
Scott

26 Jul 2006, 7:52 AM
#4
teoti avatar

teoti

New Zenner

Join Date:
Oct 2004
Posts:
38
Plugin Contributions:
0

Re: Link to a catagory?

yeah i gathered i could do a long link, i was just wondering if there was an easy way to do a short simple link to a category?

26 Jul 2006, 10:04 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,715
Plugin Contributions:
56

Re: Link to a catagory?

Why are you worried about the length of the URL? It makes no difference to the user.

Nevertheless, if you truly desire a short URL, cook one up

https://www.yourdomain.com/shorturl.html

and then use your .htaccess file (assuming you're running Apache) to redirect to the URL
as described by Kobra.

Good luck,
Scott