Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Category links not going to the right page...

    I'm scratching my head over this one...

    I uploaded my site finally to a sandbox on the live server so I can finalize the site.

    It's here: https://www.peppermaster.com/peppermaster-shop/

    My problem currently is that when I click on any of the products, it doesn't go to my peppermaster.com/peppermaster-shop products but rather to the peppermaster.com categories.

    Every other tab goes to /peppermaster-shop



    What am I missing?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Category links not going to the right page...

    It would be the reverse of this, but I would suggest putting (leaving) your store in the root of your site.

    https://www.zen-cart.com/tutorials/i...hp?article=122

  3. #3
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: Category links not going to the right page...

    Quote Originally Posted by stevesh View Post
    It would be the reverse of this, but I would suggest putting (leaving) your store in the root of your site.

    https://www.zen-cart.com/tutorials/i...hp?article=122
    Thanks for the link. Unfortunately, that's not where the problem lies. All of the targets are, as far as I can tell, correct. I would think that if there were errors there, it would not ONLY be the product listing that bounces to the live site. There must be an address somewhere that I'm not finding.

    As for the site not being in my root... It was my original intention to put the shop in the root, but I didn't know the answer to the question: Where would you suggest we put the live site while you work on this upgrade??" when my server asked. Are you suggesting that I can run the sandbox AS WELL AS my live site in the root? O_O

  4. #4
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: Category links not going to the right page...

    If it helps, the admin goes to the right place when editing the products.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Category links not going to the right page...

    Check the paths in includes/configure.php for:

    'DIR_WS_CATALOG'

    'DIR_FS_CATALOG'

    No, I misunderstood your question. You can't run both from root.

  6. #6
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: Category links not going to the right page...

    Quote Originally Posted by stevesh View Post
    Check the paths in includes/configure.php for:

    'DIR_WS_CATALOG'

    'DIR_FS_CATALOG'

    No, I misunderstood your question. You can't run both from root.
    Yep, thanks, Steve.

    I have and they're fine. I'm sure it's got to be one of the mods I've plugged in; bilingual ez-pages or CSS flyout tabs -- More than likely the lattler.

    There's a call being made for the products to fetch the info from the db, and I can't find it. Do you know if there's an easy way to figure that out?

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Category links not going to the right page...

    You have something rewriting your category and product pages' URLs. The URL's of those pages don't include the subdirectory. You might check that mod and turn it off if possible to see if things work properly.

  8. #8
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Re: Category links not going to the right page...

    Quote Originally Posted by stevesh View Post
    You have something rewriting your category and product pages' URLs. The URL's of those pages don't include the subdirectory. You might check that mod and turn it off if possible to see if things work properly.
    Truly appreciating the help, Steve.

    Sadly I am unsure how to turn off the mods in question once installed if it doesn't have an on-off switch in the admin.

    I've got only two mods rewriting (I think), EZ Pages bilingual and CSS Flyout -- although I have tabbed product pages too, but I don't think that's coming into play yet.

    The pages that are not indexing are either the EZ pages or the products themselves. So, I may actually have two culprits causing the problem.

    My big problem is that as well as I know my way around the site, I really have a very elementary grasp of the file structure, or even how the php actually does what it does. Nevermind what the commands we're actually dealing with might be. (I haven't done any programming since grade 12 and I've been out of high school nearly 30 years. In the last three months, I have learned a great deal of respect for people who do this for a living.

    I'm pretty certain that the call to the db for the list of products is somehow sending it back to the root db, but I don't know what command I'm looking for. My thinking is that I should be looking for the db call in the files that create the structure that is my drop menu or the call for my ez pages... either way, I don't know what I'm looking for, and I really hope it's not something that requires hard-coding in core files -- At least I'm hoping it's not.

    I assume it's got to do with the 'index' or 'subindex' or both... but, it could easily be neither.

    Is there an easy way (a developer's trick/method?) to use the bug tool or developer's tools to figure out what the call is so that I can find it to fix it?

    On the other hand, I may be way off base (I hope not).

  9. #9
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Category links not going to the right page...

    I don't know much about Zencart's file structure either, but I suspect you may have installed something you've forgotten about. Your first category URL looks like this:

    http://www.peppermaster.com/chili_pe...irs_aka_syrups

    No subdirectory in the path, and that's not a dynamic Zencart URL and must be being generated from somewhere. I don't think either of the mods you mentioned alters page URLs (I'm sure the Flyout one doesn't - I haven't used the EZ Pages one, but I can't imagine why it would rewrite URLs). Do you have any .htaccess files that may be redirecting stuff to other places ?

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Category links not going to the right page...

    I've got only two mods rewriting (I think), EZ Pages bilingual and CSS Flyout
    I think you are misunderstanding the meaning of "rewriting" here - it is the URL (in the address bar) being changed from Zen Cart's standard dynamic URL to a "human-readable" URL, as stevesh describes.

    URL rewriter mods should have settings somewhere in your admin, probably under something like "SEO".

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. All my links not going to top of page when clicked.
    By Jackfarrel in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 20 Oct 2009, 05:17 PM
  2. Write Reviews errors not going to the right page
    By lat9 in forum Addon Templates
    Replies: 3
    Last Post: 20 Oct 2009, 12:12 PM
  3. Removing category image links and text links from the HOME page
    By EddieMac in forum Basic Configuration
    Replies: 2
    Last Post: 24 Apr 2008, 02:53 PM
  4. Category Links not going to where I want
    By High Funk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Sep 2007, 04:20 AM
  5. Login page problem..not going to right page
    By aggiesoap in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jun 2007, 12:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR