my website is created in joomla 1.5 , i wants to edit my website pages header tags. is there any extention available.
问题:
回答1:
I'm assuming you mean you wish to edit the content of your head tag. That is elements between . The <header></header>
tag is only used in HTML5 and quite sure that's not what you meant.
As for the head tag, you add that yourself in your template and can add any content you wish between those tags. In most CMS's you have complete control in what appears between the head tags. With Joomla you are required to add <jdoc:include type="head" />
however. The content of that tag is automatically filled by Joomla such as meta data (title, description, etc.)
You can edit the global meta data in the control panel Site > Global Configuration. Also on each article you create you can click on the side menu to edit the meta data for that particular article.
However, there are some things you cannot easily change. Such as in that joomla tag <jdoc:include type="head" />
it also loads MooTools for instance. Which means if you wish to load Mootools at the foot of the page your out of luck. You could manually edit the tag in /libraries/joomla/document/html/html.php however whatever changes you make there may be overwritten every time you update the system. So you do not want to do that.
Hopefully this helps, otherwise please be more specific on what you wish your end result to be to editing your head tag.
回答2:
header tag is defined within the JDocumentHTML class and it defines the web page document.
It's defined in /libraries/joomla/document/html/html.php
More information about the class on Joomla documentation
However, I don't think that's what you're talking about, The title says SEO so you probably need to edit (description) and (title) ... This plugin generate this information for each article automatically. I have always used this one to create the meta info for each article manually and that's the best solution.
This is another useful plugin I use a lot to add the website name beside the page title. You can find more information about it here
If none did match your need, go back to Joomla Extension Directory and check this category specifically for what you need
回答3:
6 years later this question is still relevant as Joomla 3.6.x doesn't provide any mechanism via the admin UI. There are a few different lower-level options (see https://docs.joomla.org/J3.x:Adding_JavaScript_and_CSS_to_the_page) but non-developers may find it hard to use.
There are some Joomla templates that allow you to specify global custom code to be placed at the end of header and/or end of body sections (for example for Google Analytics). I'm using this one: https://www.joomshaper.com/joomla-templates/helix3
回答4:
to modified the head section you need to access to the admin dashboard. Inside Extensions/Themes, then into themes select your default theme. Go into the editor select the file /html/com_content/default.php and you could modified the file as you want.
At the same place you could find the file index.php that has the header section.
Good day!