Hello there! Welcome to Youjoomla Support Forums

We are Web Development Company specializing in Joomla Templates , Joomla Extensions and WordPress Themes development . You are not able to see some forum threads due to your memberhip level. To unlock all forums and special customer support please take few moments to signup . If you are just searching for free joomla templates , or free joomla extension support simply head to our Free Joomla Support forums and open a new thread. Our moderators will help you as soon as possible. To spead up the response time please take few seconds and go over forum rules

Have fun!

Title tag should be first Joomla 1.5

03-18-2010, 02:36 PM
# 1 (permalink)
neo
I have been running some SEO tools to optimize few pages and found out that Joomla 1.5.15 is actually burying the page title after all keywords, meta and so on. This can seriously hurt your ranking since search engine may not see it.

To fix this please go to:

yoursite/libraries/joomla/document/html/renderer/head.php

move line 85

Code:

$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
under line 61

Code:

$strHtml = '';
so it looks like this

Code:

$strHtml = '';
$strHtml .= $tab.'<title>'.htmlspecialchars($document->getTitle()).'</title>'.$lnEnd;
Save and check the code. Your title should be the first tag after <head> tag.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

Members Login

Username
Password