Page 216 of 245 FirstFirst ... 116166206214215216217218226 ... LastLast
Results 2,151 to 2,160 of 2445
  1. #2151
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,756
    Plugin Contributions
    30

    Default Re: Ceon URI Mapping v4.x

    Just to confirm that my Github is now updated with the solution recommended above.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  2. #2152
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Ceon URI Mapping v4.x

    If I put a store with this mod in a subdirectory, none of the URIs work anymore.

    mysite.com/Category works fine but
    mysite.com/upgrade/Category fails

    Has anyone else dealt with this?
    That Software Guy. My Store: Zen Cart Support
    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.

  3. #2153
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by swguy View Post
    If I put a store with this mod in a subdirectory, none of the URIs work anymore.

    mysite.com/Category works fine but
    mysite.com/upgrade/Category fails

    Has anyone else dealt with this?
    Assumption for the below is that after the move, the uri for the associated failing product has not been regenerated. This is as compared to moving the store into a directory, creating a new uri and that uri failing. I am below addressing the first situation, not the second based on my understanding of the question and condition(s) provided.

    Yes. By moving the store into or out of a directory, the uris have technically changed and need to be created/recreated as the new active uris with the old active uris made not-current so that the old links will still direct to/reach the now current uri of the same product.

    This is one reason that it is recommended when pre-creating a store or when testing operation that a sub-domain having the same directory structure of the end store is recommended. In this way, effectively the HTTP_SERVER changes but not the DIR_WS_CATALOG.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #2154
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Yes. By moving the store into or out of a directory, the uris have technically changed and need to be created/recreated as the new active uris with the old active uris made not-current so that the old links will still direct to/reach the now current uri of the same product.
    You have to rerun the ceon_uri_mapping_installation_check.php. I get that. But after updating my .htaccess, I'm still getting 404s with every combination of the final rewrite rule.

    RewriteRule .* /my_site/index.php [QSA,L]
    RewriteRule .* my_site/index.php [QSA,L]
    RewriteRule .* /index.php [QSA,L]
    RewriteRule .* index.php [QSA,L]

    and I'm not sure how to debug that.
    That Software Guy. My Store: Zen Cart Support
    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.

  5. #2155
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by swguy View Post
    You have to rerun the ceon_uri_mapping_installation_check.php. I get that. But after updating my .htaccess, I'm still getting 404s with every combination of the final rewrite rule.

    RewriteRule .* /my_site/index.php [QSA,L]
    RewriteRule .* my_site/index.php [QSA,L]
    RewriteRule .* /index.php [QSA,L]
    RewriteRule .* index.php [QSA,L]

    and I'm not sure how to debug that.
    Does the sub-directory also have an .htaccess as a result of the move?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #2156
    Join Date
    Jan 2010
    Location
    France
    Posts
    281
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I have another problem, I have a slide in the home that takes the product id from the db, if I read the source code I notice that the link of the category or the product link is not generated by ceon uri I products = id etc. clicking does a normal thing, but SEOs have links on the page with rederict 301 is not the best. How can I do to generate the correct links without cpath etc.

    $productlink=HTTP_SERVER . DIR_WS_CATALOG.'index.php?main_page=product_info&cPath='.$cpath.'&products_id='. $products_id;
    $showmorelink=HTTP_SERVER . DIR_WS_CATALOG.'index.php?main_page=index&cPath='.$cpath;

    <a href="<?php echo $productlink; ?>"><span class="a-btn-text">Buy now</span></a>
    <a href="<?php echo $showmorelink; ?>"><span class="a-btn-slide-text">More</span></a>
    Giovanni,
    Zen Cart V2.1

  7. #2157
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by diamond1 View Post
    I have another problem, I have a slide in the home that takes the product id from the db, if I read the source code I notice that the link of the category or the product link is not generated by ceon uri I products = id etc. clicking does a normal thing, but SEOs have links on the page with rederict 301 is not the best. How can I do to generate the correct links without cpath etc.

    $productlink=HTTP_SERVER . DIR_WS_CATALOG.'index.php?main_page=product_info&cPath='.$cpath.'&products_id='. $products_id;
    $showmorelink=HTTP_SERVER . DIR_WS_CATALOG.'index.php?main_page=index&cPath='.$cpath;

    <a href="<?php echo $productlink; ?>"><span class="a-btn-text">Buy now</span></a>
    <a href="<?php echo $showmorelink; ?>"><span class="a-btn-slide-text">More</span></a>
    replying from my phone, so I can not give the right syntax, but you should use the zen_href_link function, instead of the hardcoded link.

  8. #2158
    Join Date
    Jan 2010
    Location
    France
    Posts
    281
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hi, you can give me an example
    Giovanni,
    Zen Cart V2.1

  9. #2159
    Join Date
    Jan 2010
    Location
    France
    Posts
    281
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    When you can of course hihih
    Giovanni,
    Zen Cart V2.1

  10. #2160
    Join Date
    Jan 2010
    Location
    France
    Posts
    281
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Torvista can you help me? do I get the solution?
    Giovanni,
    Zen Cart V2.1

 

 

Similar Threads

  1. 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
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  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