Results 1 to 10 of 2445

Hybrid View

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

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

    Quote Originally Posted by mc12345678 View Post
    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.
    Many thanks mc12345678 for your help and good intentions, but this doen´t work. I did it weeks ago and the redirection Works, but... zen-cart doesn´t recognize this as the homepage and renders the common index template.

  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 tonibarcelona View Post
    Many thanks mc12345678 for your help and good intentions, but this doen´t work. I did it weeks ago and the redirection Works, but... zen-cart doesn´t recognize this as the homepage and renders the common index template.
    That would be because what you consider the "homepage" is for you not the index page. What pray tell then if not the index page is your homepage? For my test case where I have/had a "second" language installed, it was if I visited the page identified in the language chosen. In my case the index.php page which was written/offered in two different languages...

    If your home page is anything other than index, then you need to identify the parameters that would need to be manually inserted into the database that would otherwise be "displayed" to get to that point. If it be an ezpage, a category page, a product page, etc... Etc... ETC...

    Would suggest adding it to the database as a status of 0 as it probably already exists as a different listing that is active, but if it doesn't already exist as some other redirection path, then it should be a status of 1.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

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

    Thank you one more time, mc12345678.
    My homepage is the index. But I "cutomize" it not displying the columns. Have you tested the solution you propose?

  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 tonibarcelona View Post
    Thank you one more time, mc12345678.
    My homepage is the index. But I "cutomize" it not displying the columns. Have you tested the solution you propose?
    Yes I did as indicated by trying both languages 1 and 2 for the sql provided. Seeing the above customiztion doesn't use zencart zen_href related functions and hardcodes the store's uri to name a few areas of improvement, makes me wonder what customizations were made to the "homepage".
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

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

    lot of customizations were made, but none of them is attached to homepage
    the code above is only fo showing hreflang tags, in conjuction with ceon uri mapping

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

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

    Few weeks ago, I tried to map the variable $this_is_home_page , but with no success

  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 tonibarcelona View Post
    Few weeks ago, I tried to map the variable $this_is_home_page , but with no success
    Would be easier to obtain help if you identify what constitutes your homepage? Almost anything would help, there are so many ways to identify what you have considered to be your homepage content. For example, when browsing your site (has web address been provided?) What is the url that is shown for the home option that typically appears in the upper left? What is the setting in the configurations section for the category to appear when opening the webpage. Have you used some sort of htaccess redirect to display some sort of customized page? $this_is_home_page is not something that "fits" into the CEON URI mapping table if that is what is meant. Otherwise, what is meant by mapping the variable/how was it used?

    Btw, this discussion is beginning to become off-topic to this forum, unless a direct correlation can be made to the operation of CeON urI mapping, the discussion of above should be continued on a new thread.
    Last edited by mc12345678; 6 Oct 2014 at 01:15 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

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