4
votes
Accepted
How do I turn off Joomla inserting a BASE tag into the HTML?
I found this answer, but I don't think it's permanent.
https://forum.joomla.org/viewtopic.php?t=354052#p2725317
To remove the base tag in the header simply add this to your template file (index.php)
$...
2
votes
Accepted
Modify the <head> tag of a page from a module using Joomla core functions
In general, below is the code. $doc = JFactory::getDocument(); $doc->addHeadLink(htmlspecialchars(JURI::current()), 'canonical');
I was looking for the Joomla documentation and only found one from ...
1
vote
For menu item other than article - won't show page header H1
Indeed it is up to each component to produce the display, and thus whether or not to include the page heading param from the menu item. I have seen some templates also implement page titles too. You ...
1
vote
How do I turn off Joomla inserting a BASE tag into the HTML?
I haven't tried it recently, but the following should still do it:
$doc = JFactory::getDocument();
unset($doc->base);
It can be placed in your template's index.php, or in a system plugin.
For ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
header-tags × 7joomla-3.x × 5
cache × 2
menu-item × 1
url × 1
seo × 1
joomla-4.x × 1
xml × 1
metadata × 1
non-sef-url × 1
cache-handler × 1
custom × 1