Results 1 to 10 of 2445

Hybrid View

  1. #1

    Default Re: Ceon URI Mapping v4.x

    Just did a fresh install of zencart 1.3.9H

    Added the latest version of ceon url mapping

    Every product page that I add a url to won't view correctly. It is like every page that gets the URL is showing the main-page data

    socialmarketingninjas.com


    I am pretty sure it is the .htaccess file issue. an empty file gives me this error, but the recommended settings give all 404 errors, with the two // or with / on the index.php

    any suggestions?


    ## BEGIN CEON URI MAPPING REWRITE RULE

    RewriteEngine On

    # ONLY rewrite URIs beginning with //
    RewriteCond %{REQUEST_URI} ^// [NC]
    # 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 admin directory
    RewriteCond %{REQUEST_URI} !^//admin-xxxxxx [NC]
    # Don't rewrite editors directory
    RewriteCond %{REQUEST_URI} !^//editors/ [NC]
    # Don't rewrite cgi-bin directory
    RewriteCond %{REQUEST_URI} !^//cgi-bin/ [NC]
    # Don't rewrite marketing directory
    RewriteCond %{REQUEST_URI} !^//marketing/ [NC]
    # Don't rewrite .qidb directory
    RewriteCond %{REQUEST_URI} !^//.qidb/ [NC]
    # Handle all other URIs using Zen Cart (its index.php)
    RewriteRule .* //index.php [QSA,L]

    ## END CEON URI MAPPING REWRITE RULE
    Last edited by CheapStairParts; 29 Nov 2011 at 05:36 AM.

  2. #2
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by CheapStairParts View Post
    Just did a fresh install of zencart 1.3.9H
    You've messed up your configure file(s). You can't have two slashes. Sort that out and generate a new example rewrite rule and use it and things should be fine.

    (Hint: look at values for DIR_WS_CATALOG and HTTP_SERVER).

    All the best..

    Conor
    ceon

  3. #3

    Default Re: Ceon URI Mapping v4.x

    I blame my host, hostgator, since it was their quickinstall tool that I used.

    I removed all of the extra // in the config file and it worked.

    Thank you so much!

  4. #4
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by CheapStairParts View Post
    I blame my host, hostgator, since it was their quickinstall tool that I used.

    I removed all of the extra // in the config file and it worked.

    Thank you so much!
    Glad you're sorted.

    What is this "quick install tool"?

    Something that installs Zen Cart? Or third party ZC modules?

    If ZC, then it created configure.php files with double slashes in them?

    Out of curiosity, where were the double slashes, in which defines?

    hostgator are quite popular I thought so surprised this is the first time I've encountered this problem.

    All the best...

    Conor
    ceon

  5. #5

    Default Re: Ceon URI Mapping v4.x

    Quick Install is similar to Fantastico. A program in cPanel that automatically installs a large variety of programs with a few clicks. (tons of shopping cards, blogging engines, etc.)

    For whatever reason they are adding extra // during the install phase. I send a message to tech support about it.

    And hopefully any other people who run into this same issue now know the fix.

  6. #6
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Quote Originally Posted by CheapStairParts View Post
    And hopefully any other people who run into this same issue now know the fix.
    Yes, thanks for the update!

    Enjoy the new software/URIs! :)

    All the best..

    Conor
    ceon

  7. #7
    Join Date
    Feb 2010
    Posts
    6
    Plugin Contributions
    0

    Default Unique URI for multilingual index page

    Hello,

    I managed to install ceon_uri_mapping_4.0.3_for_zc with ZC 1.3.8a. It works fine and rewriting works smoothly for all pages, except the index page.

    I have bilingual site and I would like to have unique URIs for both language mutations of the homepage, such as:

    site.com/en/ (originally index.php?main_page=index&language=en)
    site.com/fr/ (originally index.php?main_page=index&language=fr)

    I inserted these records into the mappings table (in analogous manner which worked for all other main_page=pagename pages except 'index'):

    [FONT="Courier New"]INSERT INTO `ceon_uri_mappings`
    (`uri`, `language_id`, `current_uri`, `main_page`, `query_string_parameters`, `associated_db_id`, `alternate_uri`, `redirection_type_code`, `date_added`)
    VALUES
    ('/en/', 1, 1, 'index', NULL, NULL, NULL, NULL, '2011-08-31 19:40:00'),
    ('/fr/', 2, 1, 'index', NULL, NULL, NULL, NULL, '2011-08-31 19:40:00');
    [/FONT]

    But I can't make these URIs visible and provide unique, distinguishable URIs for each language mutation. At the moment, the homepage has the same URI for both languages. Am I missing something here?

    I also tried to add language=en|fr into the query_string_parameters column. This did not solve the problem.

    Many thanks for help
    Last edited by vko82; 4 Dec 2011 at 03:27 PM.

  8. #8
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Unique URI for multilingual index page

    Hi,

    The homepage is handled specifically in the Ceon URI Mapping code.

    At Ceon we also use /en/ etc to specify differing language versions in our aarck / aawe software. Thinking about it, I may not ever have tested the same functionality in Ceon URI Mapping for the homepage. I have tested it for other pages, e.g. /fr/chaises etc

    This is probably something ive overlooked.

    If so I'll fix it in 4.0.8

    I'm in hospital at the minute so I don't know when that will be released.

    All the best...

    Conor,
    Ceon

  9. #9
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Unique URI for multilingual index page

    Hi,

    Quote Originally Posted by vko82 View Post
    [FONT=Courier New]('/en/', 1, 1, 'index', NULL, NULL, NULL, NULL, '2011-08-31 19:40:00'),
    ('/fr/', 2, 1, 'index', NULL, NULL, NULL, NULL, '2011-08-31 19:40:00');

    [/FONT] But I can't make these URIs visible and provide unique, distinguishable URIs for each language mutation. At the moment, the homepage has the same URI for both languages. Am I missing something here?
    I should have realised..

    you made a mistake. You put a slash at the end of the URIs!

    Change them to

    /en

    and

    /fr

    and things work fine.

    Great software this, nothing for me to fix here! :)

    Version 4.0.8 on its way soon!

    All the best..

    Conor
    ceon

 

 

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

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