Thread: Url &

Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2008
    Posts
    29
    Plugin Contributions
    0

    Default Url &

    Hi,

    Not sure where this should be posted, so I will try here.

    My Zencart uses the following in the URL

    index.php?main_page=index&cPath=2_239

    Is there a fix to make it correct as follows:

    index.php?main_page=product_info&cPath=222&products_id=244

    ie: It should be using & and not just &

    Is there a fix or a mod for this?
    Whats to Buy - The Biggest Online Shopping Site
    Grab a Bargain Now

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Url &

    The URLs genered by Zen Cart should all use the &

    What makes you think there is a problem?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jun 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Url &

    I have version 1.3.8a and this is what appears in my url:

    https://whatstobuyaustralia.com/inde...dex&cPath=1_27

    Its not using & it is using just plain &
    Last edited by Kim; 8 Sep 2008 at 02:40 PM.
    Whats to Buy - The Biggest Online Shopping Site
    Grab a Bargain Now

  4. #4
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Url &

    First - when posting links on the forum - Always remove the zenID.

    Second, if you are talking about the URL you see in the browser's address bar, you will only see &, because it has been "translated" by the browser. If you look at the page source, you will see &
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Jun 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Url &

    The problem is when I am using the URL to link to a product, it comes back with "Sorry the product was not found".

    The link goes as & but zencart doesnt accept it

    If I remove the & from the URL it works.

    To see what I mean go here: click on any of the images that pop up

    https://whatstobuy.com/seasonal/chri...istmasday.html
    Whats to Buy - The Biggest Online Shopping Site
    Grab a Bargain Now

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Url &

    I see: https://whatstobuyaustralia.com/inde...products_id=29

    This suggests that it's your Flash program that's causing the "click" to send to the wrong address. You likely need to convert all those & to just & inside your flash program because a & in your browser's URL bar is always going to be treated literally as & instead of &.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Url &

    This is an example of the URL link - Clicking on it you will see.

    https://whatstobuyaustralia.com/inde...roducts_id=244
    Whats to Buy - The Biggest Online Shopping Site
    Grab a Bargain Now

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Url &

    Yes, I know .. that's what your flash program is sending your customers to.
    You need to NOT use & in the URLs produced by your flash program.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Problem with & in URL
    By puhycz in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 8 Apr 2015, 06:27 PM
  2. Page 2, 3 & 4 SiteMap/URL Change
    By awiss in forum Basic Configuration
    Replies: 16
    Last Post: 16 Apr 2013, 06:02 PM
  3. v139h "Sorry, the product was not found." error when & is in the URL
    By TheCupertinoDandy in forum General Questions
    Replies: 3
    Last Post: 30 Nov 2012, 09:23 PM
  4. update currencies & URL file-access & cURL
    By mrmarcus66 in forum General Questions
    Replies: 1
    Last Post: 10 Aug 2006, 05:57 AM

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