Page 28 of 29 FirstFirst ... 1826272829 LastLast
Results 271 to 280 of 290
  1. #271
    Join Date
    Feb 2009
    Posts
    79
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by mc12345678 View Post
    The parameter products_id is not strictly an integer because many, many years ago, it was determined that the products_id would be used to support carrying the attribute information related to the product.
    Ah yes good point, you've set off a nasty tic in my left eye, remembering the get_prid() function and how the cart links back to the product page to 'edit' the product, and how I tried to reverse engineer how this stuff works from code with little documentation :) Now I look again, init_sanitize does check products_id with more complicated preg_match logic allowing the colon-separated format and /\d/ regex which, I just checked, an integer PHP variable does test OK with, as does a string type variable, so the ceon addon can put an integer type into $_GET['products_id'] without error. Anyway I'll comment on the github issue I raised.

  2. #272
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,461
    Plugin Contributions
    29

    Default Re: Ceon URI Mapping V5.0

    Handling changed/old/outdated URLS?

    After updating some urls with a new format or names etc., how does the old url get handled?

    I see a lot of requests from search engines that end in page not found as it is a historical url.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto, Product Listing Sorter...

  3. #273
    Join Date
    Sep 2012
    Location
    Upstate South Carolina
    Posts
    95
    Plugin Contributions
    2

    Default Re: Ceon URI Mapping V5.0

    When working properly, CEON will automatically 301 redirect old URIs to the new URIs.

  4. #274
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,461
    Plugin Contributions
    29

    Default Re: Ceon URI Mapping V5.0

    When working properly, CEON will automatically 301 redirect old URIs to the new URIs
    That's what I feared...I have to understand how this bit is supposed to work...ugh.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto, Product Listing Sorter...

  5. #275
    Join Date
    Jul 2012
    Posts
    16,482
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by torvista View Post
    That's what I feared...I have to understand how this bit is supposed to work...ugh.
    The old, recognized URI is attempted against the database where it is identified as not being the current, active URI. The associated dynamic data is returned and then the active version of the URI with that data is sought. If not found (in either case) it is expected that the URI is identified as not found (404).

    If a matching new address is found then a redirect occurs to identify that the provided URI has changed. This happens for any and all of addresses that remain in the database marked as old (not current).
    Last edited by mc12345678; 15 Nov 2022 at 03:56 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #276
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: Ceon URI Mapping V5.0

    Attempting to add a new manufacturer doubles up the content of the sidebar so that the core fields (manufacturer name, image, etc.) are prompted twice.

    This is a defect in includes/ceon_uri_mapping_javascript.php l.150-187, I'm just not sure of the fix yet.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #277
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,251
    Plugin Contributions
    3

    Default Re: Ceon URI Mapping V5.0

    Yes... I noticed this some weeks ago. Both sets of fields need in-filling for it to parse the data to the dbase.
    18 years a Zencart User

  8. #278
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,461
    Plugin Contributions
    29

    Default Re: Ceon URI Mapping V5.0

    I don't have this issue, I imagine I fixed it long ago.
    Review my fork

    **UPDATED URL***
    https://github.com/torvista/Ceon-URI-Mapping-V5.1.0/
    Last edited by swguy; 24 Nov 2022 at 07:08 PM. Reason: fixed URL after merge
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto, Product Listing Sorter...

  9. #279
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: Ceon URI Mapping V5.0

    Steve, yours works, thank you.
    You are missing some fixes, I will PR to your repo.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #280
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    8,957
    Plugin Contributions
    309

    Default Re: Ceon URI Mapping V5.0

    I'm setting Steve's fork as the Github repo since it seems to be the most up to date.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 28 of 29 FirstFirst ... 1826272829 LastLast

Similar Threads

  1. Ceon URI Mapping v4.x
    By conor in forum All Other Contributions/Addons
    Replies: 2444
    Last Post: 7 Oct 2020, 03:13 AM
  2. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  3. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 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