Saturday , February 22 2025

Joomla

Joomla – articles, how-to-fix notes, fast solutions

Include the file and display the value if it is specified in this file

This method was created for SEO edits on the Bitrix site (generated h1 values were entered in the file and displayed in the template). Today I returned to this solution for canonical edits, here is the code and description: <?php include($_SERVER['DOCUMENT_ROOT']."/seo.php");  if(isset($seoh1) AND $seoh1!='') {echo $seoh1;} else {echo $heading_title;} ?> …

Read More »