2013-02-20, 02:01:48
Hello guys, I'm a bit in trouble with permalinks in a 3 languages website. I'm trying to do a blog-like section as suggested in this post by Oleg06: http://get-simple.info/forums/showthread.php?tid=2475
with the i18n search function, and everything worked fine until I changed to a custom permalink structure.
My permalink stucture is a "standard":
that works fine for all the pages, except for the search results.
I've used this snippets to get the lists of articles:
and the link of the results lists are generated with a "useless" _en or _it appendix, which breaks the links.
eg. My page url is mysite.fr/en/pagename, but the link generated by the search engine is mysite.fr/en/pagename_en = 404.
Obviously if i cut the _en the page works fine...how can I change this?
Thank you very much!!
Have a good day
with the i18n search function, and everything worked fine until I changed to a custom permalink structure.
My permalink stucture is a "standard":
Code:
%language%/%parent%/%slug%/
I've used this snippets to get the lists of articles:
Code:
(% searchresults HEADER: i18n:0 numWords:80 tags:ricette order:reverseurl lang:fr %)
(% searchresults HEADER: i18n:0 numWords:80 tags:ricette order:reverseurl lang:it %)
(% searchresults HEADER: i18n:0 numWords:80 tags:ricette order:reverseurl lang:en %)
and the link of the results lists are generated with a "useless" _en or _it appendix, which breaks the links.
eg. My page url is mysite.fr/en/pagename, but the link generated by the search engine is mysite.fr/en/pagename_en = 404.
Obviously if i cut the _en the page works fine...how can I change this?
Thank you very much!!
Have a good day