Codemirror and heavy scripts
Hello mb,
While every project and Tiki site has unique SEO requirements. I’ve a Tiki Express Tutorial on optimizing Tiki SEO waiting to be published after updating it for Tiki 27 (yes I'm late 🤣).
After reviewing your website, I’m confident I can help you enhance its SEO performance. Don’t hesitate to reach out!
Hi Bernard, thanks, that's nice. At the moment, the main issue is that the interface default language being english, when google attempts to index a page with french content, there is a discrepancy since the html tag has lang=en and the content of the page (except menus) is in french. My idea is to automatically switch the interface to fr when such a page is requested.
Also, articles?lang=en is the homepage: for now, in the sitemap ifrei.org is declared as x-default, articles?lang=en as its en alternate, and articles?lang=fr as its fr alternate (cf the manually built sitemap in storage/public). I am not sure this is an orthodox use of x-default.
Once an orthodox syntax is validated, we have to modify the sitemap generator in order to generate I18n urls, with alternate hreflang pairs (or triplets for x-default), and add xmlns:xhtml="http://www.w3.org/1999/xhtml" to the urlset.
A last issue is to prevent pages with noindex to land in the sitemap. for the moment, we have added:
if (($namecatg=="4Noindex")||($namecatg=="4Webmaster")){ $smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW'); }
in tiki-index and tiki-read_article: this dirty trick use a category 4Noindex that can indicate which content has to have a noindex. So, the modified sitemap generator would have to test these noindex. This is not very clean, but a full I18n clean sitemap generator would require a comprehensive admin interface (although, I did not check if there is one in tiki 27).
--
mb