Page 1 of 2 12 LastLast
Results 1 to 10 of 2445

Hybrid View

  1. #1
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default CEON URL working with Multi-language SEO URLs

    Im trying to get CEON URL working with Multi-language SEO URLs (http://www.zen-cart.com/downloads.php?do=file&id=1717).
    By adding:

    RewriteRule ^(en|es)/.* index.php [QSA,L]

    to the htaccess file ("en" for english and "es" for spanish) the index pages seems to be working fine but all other pages gets a "Page not found error". I suspect the reason is that "Multi-language SEO URLs" adds the "en" and "es" directories to the URL like this:

    www.mywebsite.com/en/
    www.mywebsite.com/es/

    Is there a way to add a rule in htaccess to solve this problem? Or would the code in the CEON module need to be modified?

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

    Default Re: CEON URL working with Multi-language SEO URLs

    Quote Originally Posted by DML73 View Post
    Im trying to get CEON URL working with Multi-language SEO URLs (http://www.zen-cart.com/downloads.php?do=file&id=1717).
    By adding:

    RewriteRule ^(en|es)/.* index.php [QSA,L]

    to the htaccess file ("en" for english and "es" for spanish) the index pages seems to be working fine but all other pages gets a "Page not found error". I suspect the reason is that "Multi-language SEO URLs" adds the "en" and "es" directories to the URL like this:

    www.mywebsite.com/en/
    www.mywebsite.com/es/

    Is there a way to add a rule in htaccess to solve this problem? Or would the code in the CEON module need to be modified?
    Not to be rude or awnry, why would you want to use a uri rewriter to rewrite in or to a foreign language when a uri rewriter already handles foreign/multiple languages? This. uri rewriter can even handle uris written as shown in the above examples if they previously existed with the applicable en or es folder prefix. Further the instructions do identify that using two rewriters is highly not advised/are likely not to work together.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default Re: CEON URL working with Multi-language SEO URLs

    Quote Originally Posted by mc12345678 View Post
    Not to be rude or awnry, why would you want to use a uri rewriter to rewrite in or to a foreign language when a uri rewriter already handles foreign/multiple languages? This. uri rewriter can even handle uris written as shown in the above examples if they previously existed with the applicable en or es folder prefix. Further the instructions do identify that using two rewriters is highly not advised/are likely not to work together.
    The "Multi-language SEO URLs" module by itself does not do what you mention, as far as I understand. Only if I also install the "Ultimate SEO URLs" plugin as mentioned in the install instructions for the "Multi-language SEO URLs" module it will re-write the URLs. I like the "CEON URL" module better than the "Ultimate SEO URLs" plugin, that's why I would like to get it working with that instead.

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

    Default Re: CEON URL working with Multi-language SEO URLs

    Quote Originally Posted by DML73 View Post
    The "Multi-language SEO URLs" module by itself does not do what you mention, as far as I understand. Only if I also install the "Ultimate SEO URLs" plugin as mentioned in the install instructions for the "Multi-language SEO URLs" module it will re-write the URLs. I like the "CEON URL" module better than the "Ultimate SEO URLs" plugin, that's why I would like to get it working with that instead.
    Well, though the thing is that the CEON module already is multi-language, so what is there to get to work with it?

    Saying that the module adds on en or es or whatever two letter abbreviaition to the uri is a uri rewriter. Therefore, having that plus CEON URI rewriter is having two rewriters...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: CEON URL working with Multi-language SEO URLs

    If it is desired to have some sort of language identifying information in the uri, then it would just need to be added to part of the uri construct for the product(s)/category(ies).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Oct 2007
    Posts
    412
    Plugin Contributions
    0

    Default Re: CEON URL working with Multi-language SEO URLs

    I see your point. I think my situation is special because I have 2 domains, one for each language (on same server), for example:

    www.site.co.uk
    www.site.dk

    In my htaccess file I then redirect each language to the correct site:

    #danish to dk site
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^(www\.|)site\.dk$ [NC]
    RewriteRule ^$ index.php?&language=da [R=301,L]

    #english to co.uk site
    RewriteCond %{HTTP_HOST} ^(www\.|)site\.co\.uk$ [NC]
    RewriteRule ^$ index.php?&language=en [R=301,L]

    I have found that this redirection is not working with the CEON module but it works fine with the Multilanguage SEO module, so I was trying to combine the two. However I guess a better approach would be to get the redirection code working with the CEON module instead. Any ideas?

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

    Default Re: CEON URL working with Multi-language SEO URLs

    Quote Originally Posted by DML73 View Post
    I see your point. I think my situation is special because I have 2 domains, one for each language (on same server), for example:

    www.site.co.uk
    www.site.dk

    In my htaccess file I then redirect each language to the correct site:

    #danish to dk site
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^(www\.|)site\.dk$ [NC]
    RewriteRule ^$ index.php?&language=da [R=301,L]

    #english to co.uk site
    RewriteCond %{HTTP_HOST} ^(www\.|)site\.co\.uk$ [NC]
    RewriteRule ^$ index.php?&language=en [R=301,L]

    I have found that this redirection is not working with the CEON module but it works fine with the Multilanguage SEO module, so I was trying to combine the two. However I guess a better approach would be to get the redirection code working with the CEON module instead. Any ideas?
    Possible to do with this version of CEON rewriter. I'm a long ways away fom a computer to be able to tinker with. The htaccess that maybe necessary. I do know that in working with the module I have it working on a single server with multiplesubfolders each having their own "store" tobeable to try different setups. The request is beyond the typical usage/design (utogenerrated htaccess doesn't generate *all* of the applicable statements.) But it is something thatcan be done.

    Would be good to understand things like are all of thesame products provided, is it just a language thing, anything else that may help the overall solution. (Whichmaynot be to simply get ceon uri rewriter to work as described...

    Nd please forgiveme, I have been out in the heat the last three days fora long period of time. I already know that to help o will need to reread thepecious setup description, butit would help to state itconcisely.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: CEON URL working with Multi-language SEO URLs

    Quote Originally Posted by DML73 View Post
    Im trying to get CEON URL working with Multi-language SEO URLs (http://www.zen-cart.com/downloads.php?do=file&id=1717).
    By adding:

    RewriteRule ^(en|es)/.* index.php [QSA,L]

    to the htaccess file ("en" for english and "es" for spanish) the index pages seems to be working fine but all other pages gets a "Page not found error". I suspect the reason is that "Multi-language SEO URLs" adds the "en" and "es" directories to the URL like this:

    www.mywebsite.com/en/
    www.mywebsite.com/es/

    Is there a way to add a rule in htaccess to solve this problem? Or would the code in the CEON module need to be modified?
    Quote Originally Posted by DML73 View Post
    The "Multi-language SEO URLs" module by itself does not do what you mention, as far as I understand. Only if I also install the "Ultimate SEO URLs" plugin as mentioned in the install instructions for the "Multi-language SEO URLs" module it will re-write the URLs. I like the "CEON URL" module better than the "Ultimate SEO URLs" plugin, that's why I would like to get it working with that instead.
    So you are trying to get a module that is meant to work with a COMPLETELY DIFFERENT re-writer to work with THIS re-writer?? The short answer to how to make the "Multi-language SEO URL" module with with THIS module versus the module it was written to work with ("Ultimate SEO URLs") is is to have the "Multi-language SEO URL" module re-written to work with this module.. The question that's already been posed to you is WHY would you want to do this?? This module has supported multi-language shops since 2011.

    From the FIRST PAGE of THIS support thread in the original author's OWN WORDS:
    Quote Originally Posted by conor View Post
    Hi,

    Welcome to the new support thread for Ceon URI Mapping. At the time of writing, the latest version is v4.0.3.

    The latest version of Ceon URI Mapping is always available for
    download here.

    v4.0.3 should be available in the downloads area soon.



    About the module

    Use Static URIs to make web addresses Easier to Remember and Easier to Enter.
    Improve the store's Rankings in Search Engines!


    The Ceon URI Mapping module is a very handy module that no Zen Cart site should be without!

    Unlike other SEO modules, where the URIs are generated automatically when a customer visits a page, this module allows specific URIs to be entered within the admin, or even for auto-generation to be used to create a static URI for an individual category/product/manufacturer/EZ-Page/Zen Cart page.

    We believe this to be a much better solution as the store is in control of its URIs.

    It lets the store specify static, human-readable, keyword-based URIs to be used instead of the dynamic, ID-based URIs which Zen Cart uses as standard.
    For example, for a product, instead of dynamic URIs like this:

    http://yourstore.com/index.php?main_...&products_id=5

    A static address - easy to read, easy to type in and full of keywords - could be specified for the product:

    http://yourstore.com/books/life-is-good

    It's simple to promote sections of the site on advertising literature.

    For example, the following static URI could be mapped to the specials page:

    http://yourstore.com/EasterSpecials

    Ceon URI Mapping is packed full of features, which include:

    • Full Multi-Language Support
    • Canonical URI Support
    • Historical URI Redirection (Never have a broken link again!)
    • URI Auto-Generation
    • Transliteration Support
    • 100% Compatibility with Zen Cart
    • As well as many more!

    Give potential customers easy to enter/remember URIs and improve the site's rankings in search engines!

    Quote Originally Posted by DML73 View Post
    I see your point. I think my situation is special because I have 2 domains, one for each language (on same server), for example:

    www.site.co.uk
    www.site.dk

    In my htaccess file I then redirect each language to the correct site:

    #danish to dk site
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^(www\.|)site\.dk$ [NC]
    RewriteRule ^$ index.php?&language=da [R=301,L]

    #english to co.uk site
    RewriteCond %{HTTP_HOST} ^(www\.|)site\.co\.uk$ [NC]
    RewriteRule ^$ index.php?&language=en [R=301,L]

    I have found that this redirection is not working with the CEON module but it works fine with the Multilanguage SEO module, so I was trying to combine the two. However I guess a better approach would be to get the redirection code working with the CEON module instead. Any ideas?
    It's simply AMAZING what you find when searching the support thread (i.e search for multi language). All from the ORIGINAL author..

    Quote Originally Posted by conor View Post
    Hi,



    Glad you like the software.

    I'm not entirely clear on what it is you want to do.. do you have two stores, one for each language, or simply one store with two different languages?

    If it is the latter, then you simply adjust the URIs as you enter them for the categories/products. E.g., for products, simply add "/sub-folder/" to the start of the "French" URI Mapping for each product/category etc. (I like to have site.com/fr/xxxxx for example, that's how our aarck/aawe software works and is how all language sites should work in my opinion).

    If your question is about the former, then you can simply have a rewrite rule for each store in the root's .htaccess file, but add an exclusion for the /sub-folder/ to the first rewrite rule so that it "falls over" to the second rule. Or you can make sure the first rule only applies for the second, sub-folder (French) store and "falls back" to the first rule for the root/English language store.

    Certainly, I can say that what you want to do in supporting multiple languages is indeed doable with the software (a fact which is one of the software's strengths!).

    All the best..

    Conor
    ceon

    Quote Originally Posted by conor View Post
    Hi,



    Yes. The distribution even comes with code to get the Multi-language EZ-Pages using static URIs if you want. :)

    Have a good weekend!

    All the best...

    Conor
    ceon
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  9. #9
    Join Date
    Feb 2007
    Location
    Barcelona
    Posts
    201
    Plugin Contributions
    0

    Default Re: CEON URL working with Multi-language SEO URLs

    I Cannot solve this:

    I have structured the int. urls. like this: /mysite.com/en/blahblah, /mysite.com/fr/blahblah,...but it is impossible to me to map the homepage: mysite.com/en

    Any idea? (tested mapping at db and rewritting with htaccess with nosuccess)

  10. #10
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: CEON URL working with Multi-language SEO URLs

    Quote Originally Posted by tonibarcelona View Post
    I Cannot solve this:

    I have structured the int. urls. like this: /mysite.com/en/blahblah, /mysite.com/fr/blahblah,...but it is impossible to me to map the homepage: mysite.com/en

    Any idea? (tested mapping at db and rewritting with htaccess with nosuccess)
    Code:
    INSERT INTO `ceon_uri_mappings` (`uri` ,`language_id` ,`current_uri` ,`main_page` ,`query_string_parameters` ,`associated_db_id` ,`alternate_uri` ,`date_added`) 
    VALUES ( '/mysite.com/fr','2','1','index','language=fr',NULL ,NULL , NOW() 
    );
    This assumes that French is language id 2; although I had also inadvertently used a value of '1' and obtained the same final result.

    It doesn't replace the link provided at the language flags, but entering the link using the two letter language designation does result in landing on the home page in the language identified by the two letter abbreviation.

    Not sure that using the mysite.com approach is correct meaning having the period included... I have seen a site before that had problems with having a subfolder of mysite.com instead of mysitedotcom or some full text only method.
    Last edited by mc12345678; 5 Oct 2014 at 05:27 AM. Reason: Space was missing after INTO and before `
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

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