Page 211 of 245 FirstFirst ... 111161201209210211212213221 ... LastLast
Results 2,101 to 2,110 of 2445
  1. #2101
    Join Date
    Feb 2007
    Posts
    284
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I followed the instructions to do the following:
    * For example, to create a static URI for “index.php?main_page=specials”:
    uri: /latest-offers
    main_page: specials
    by updating the table ceon_uri_mappings, now when i type the URLwww.mysite.com/latest-offers
    it takes me to the special page but the URL in the browser change to
    www.mysite.com/index.php?main_page=specials

    Did i forget something?

  2. #2102
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by TamyA View Post
    I followed the instructions to do the following:
    * For example, to create a static URI for “index.php?main_page=specials”:
    uri: /latest-offers
    main_page: specials
    by updating the table ceon_uri_mappings, now when i type the URLwww.mysite.com/latest-offers
    it takes me to the special page but the URL in the browser change to
    www.mysite.com/index.php?main_page=specials

    Did i forget something?
    Which instructions?

    What specific SQL was used to add the record to the database?

    Are uris of other product that are generated working fine or are they too responding by taking the visitor to the desired page but with the base ZC uri?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #2103
    Join Date
    Feb 2007
    Posts
    284
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Which instructions?

    What specific SQL was used to add the record to the database?

    Are uris of other product that are generated working fine or are they too responding by taking the visitor to the desired page but with the base ZC uri?
    I use the insert SQL statment to insert that information in the table
    uri
    The products/category pages are working fine but still have some pages like specials, contact us, shipping and return that shows index.php?main_page= in the url and my understanding that these pages need to be added to the table manually.
    * Please note: There is no admin interface for entering these URI mappings in this module, they have to be entered manually (using software such as PHPMyAdmin).

  4. #2104
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    The issue is that current_uri is set to false (0) which means that the program will "respect" the uri, but will display/respond as if it was the ZC default version of it or find the version that exists as the current_uri (value of 1).

    You are correct that these type uris if desired to be used must be manually added. Or rather added from outside of the base code of the version available from this website.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #2105
    Join Date
    Feb 2007
    Posts
    284
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    The issue is that current_uri is set to false (0) which means that the program will "respect" the uri, but will display/respond as if it was the ZC default version of it or find the version that exists as the current_uri (value of 1).

    You are correct that these type uris if desired to be used must be manually added. Or rather added from outside of the base code of the version available from this website.
    Thanks, the 1 did it. Thank you.

  6. #2106
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I'm having issues with 2 of my 3 domains not working now that I installed CEON. I've narrowed it down to the htaccess file.

    My hosting file structure is set up as:
    /maindomain (zen files under this location)
    /maindomain/_aa_domain_2 (2nd hosted website files)
    /maindomain/_bb_domain_3 (3rd hosted website files)

    My htaccess is:
    Code:
    ErrorDocument 404 /404.shtml 
    RewriteCond %{HTTP_HOST} ^www\.maindomain\.com$
    RewriteRule ^/?$ "http\:\/\/maindomain\.com\/" [R=301,L]
    
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    
    # Don't rewrite _aa_domain_2 directory
    RewriteCond %{REQUEST_URI} !^/_aa_domain_2/ [NC]
    
    # Don't rewrite _bb_domain_3 directory
    RewriteCond %{REQUEST_URI} !^/_bb_domain_3/ [NC]
    
    # Handle all other URIs using Zen Cart (its index.php) 
    RewriteRule .* index.php [QSA,L]
    
    
    
    ## END CEON URI MAPPING REWRITE RULE
    As it is above, the main domain works but the 2 other domains return:
    Not Found
    The requested URL /maindomain/index.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    If I comment out the last line, the other 2 domains work but it crashes the main domain:
    #RewriteRule .* index.php [QSA,L]

    I'm hoping someone can offer some assistance on the proper code to use to prevent this issue.

    Regards
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

  7. #2107
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by idc1 View Post
    I'm having issues with 2 of my 3 domains not working now that I installed CEON. I've narrowed it down to the htaccess file.

    My hosting file structure is set up as:
    /maindomain (zen files under this location)
    /maindomain/_aa_domain_2 (2nd hosted website files)
    /maindomain/_bb_domain_3 (3rd hosted website files)

    My htaccess is:
    Code:
    ErrorDocument 404 /404.shtml 
    RewriteCond %{HTTP_HOST} ^www\.maindomain\.com$
    RewriteRule ^/?$ "http\:\/\/maindomain\.com\/" [R=301,L]
    
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    
    # Don't rewrite _aa_domain_2 directory
    RewriteCond %{REQUEST_URI} !^/_aa_domain_2/ [NC]
    
    # Don't rewrite _bb_domain_3 directory
    RewriteCond %{REQUEST_URI} !^/_bb_domain_3/ [NC]
    
    # Handle all other URIs using Zen Cart (its index.php) 
    RewriteRule .* index.php [QSA,L]
    
    
    
    ## END CEON URI MAPPING REWRITE RULE
    As it is above, the main domain works but the 2 other domains return:
    Not Found
    The requested URL /maindomain/index.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    If I comment out the last line, the other 2 domains work but it crashes the main domain:
    #RewriteRule .* index.php [QSA,L]

    I'm hoping someone can offer some assistance on the proper code to use to prevent this issue.

    Regards
    There are other ways to do this, but because htaccess rules "inherit" upwards, your secondary site(s) are being affected by the htaccess in the primary site. Therefore, one way to eliminate that is to preclude the secondary sites from the rule testing such as the two lines added before which would need to be modified to suit your "scheme".

    Code:
    ErrorDocument 404 /404.shtml 
    RewriteCond %{HTTP_HOST} ^www\.maindomain\.com$
    RewriteRule ^/?$ "http\:\/\/maindomain\.com\/" [R=301,L]
    
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{ HTTP_HOST} !^www\.othersite1\.com [NC] 
    RewriteCond %{ HTTP_HOST} !^www\.othersite2\.com [NC] 
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    
    # Don't rewrite _aa_domain_2 directory
    RewriteCond %{REQUEST_URI} !^/_aa_domain_2/ [NC]
    
    # Don't rewrite _bb_domain_3 directory
    RewriteCond %{REQUEST_URI} !^/_bb_domain_3/ [NC]
    
    # Handle all other URIs using Zen Cart (its index.php) 
    RewriteRule .* index.php [QSA,L]
    
    
    
    ## END CEON URI MAPPING REWRITE RULE
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #2108
    Join Date
    Jul 2011
    Posts
    138
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    There are other ways to do this, but because htaccess rules "inherit" upwards, your secondary site(s) are being affected by the htaccess in the primary site. Therefore, one way to eliminate that is to preclude the secondary sites from the rule testing such as the two lines added before which would need to be modified to suit your "scheme".

    Code:
    ErrorDocument 404 /404.shtml 
    RewriteCond %{HTTP_HOST} ^www\.maindomain\.com$
    RewriteRule ^/?$ "http\:\/\/maindomain\.com\/" [R=301,L]
    
    ## BEGIN CEON URI MAPPING REWRITE RULE
    
    RewriteEngine On
    
    # Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
    RewriteCond %{HTTP_HOST} !^www\.othersite1\.com [NC] 
    RewriteCond %{HTTP_HOST} !^www\.othersite2\.com [NC] 
    RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
    # Don't rewrite any URIs for some, popular specific file format extensions,
    #   which are not covered by main file extension condition above
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
    # Don't rewrite any URIs for some specific file format extensions,
    #   which are not covered by main file extension condition above
    #   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
    #RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
    
    # Don't rewrite _aa_domain_2 directory
    RewriteCond %{REQUEST_URI} !^/_aa_domain_2/ [NC]
    
    # Don't rewrite _bb_domain_3 directory
    RewriteCond %{REQUEST_URI} !^/_bb_domain_3/ [NC]
    
    # Handle all other URIs using Zen Cart (its index.php) 
    RewriteRule .* index.php [QSA,L]
    
    
    
    ## END CEON URI MAPPING REWRITE RULE

    Thank you. This worked like a charm.
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3

  9. #2109
    Join Date
    Jul 2012
    Posts
    16,798
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by idc1 View Post
    Thank you. This worked like a charm.

    Glad that it did. BTW, in review of your tagline:
    ZC 1.5.5
    Add ons: - Column/Grid 1.3.8 - Dual pricing 1.7 - ImageHandler3
    You should update to at least ImageHandler4 with using any ZC 1.5.x version of ZC. On a side note to that, the information in the tagline doesn't help anyone reading about issues (in the future) that you may post about. The tagline if updated will update throughout the forum website and no longer apply to the conditions referenced by any such post. This is also why it is requested to post the system conditions when attempting to address an issue. It helps in a number of ways: what currently may be the source of the issue, later what may have had a similar problem that relates to other software having the same issue and even better what resolved that issue.

    Anyways, glad that the problem was resolved with at least one method of resolution. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #2110
    Join Date
    Jun 2007
    Location
    Eustis, Florida, USA, EARTH
    Posts
    836
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    I have a bucket load of errors in the admin check ceon installation.
    A file requires 2 modifications to be made for it but none of the modifications have been made.

    I have tried both github and ZC downloads and I get the same errors on 155e. I am using php 5.6.3. I have created the .htaccess file in root and pasted recommended rewrite rules. When I look at my zc150 site I have all of the referenced error files present. So after installing the latest CEON URI Mapping on zc155e, some of the files are completely missing when I run the check installation.

    Is this not compatible with 155e? If not, are there plans to make it compatible with future ZC releases?

    Thanks

 

 

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