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...
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...
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
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...