Meta tags order

 
How can I change the order of the meta tags ? I would like the Title tag appear first before meta description and keywords ???
 
 


You mean /libraries//joomla/document/html/renderer/head.php


Yes, exactly right, this is the original code:
	$strHtml .= $tab.'<meta name="description" content="'.$document->getDescription().'" />'.$lnEnd;
		$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;
		$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;

You can change the order here.
  • 5 Users Found This Useful
Was this answer helpful?

Related Articles

Create a web site with Joomla

How do I create my website with Joomla? Choose a template for your website. Joomla is an...

How to upgrade Joomla

This Joomla knowledgebase article explains how to best upgrade your Joomla install the latest...

Joomla errors? Re-install the latest Joomla Core package

Occasionally, Joomla will have a small hiccup and you can experience 'strange' errors such as the...

Re-set Joomla password steps

Resetting in PhpMyAdmin If you have lost your admin password and you can't log into the...

Copying a Joomla site

How to copy a Joomla site.