Hi,
Continuing with my site optimization, I have found out that the H1 Tag is doubled in all the pages other than the Home page.
This is wrong, because it confuses the search engines. Normally only one H1 Tag should exist per page.
I have solved the problem using the following code and I am sharing it with you, just in case anyone is interested to fix this in their site. The only side effect is that I am hiding the logo as well, but in my case, just because I changed the size of it, was just getting on the way. However, I am sure the JA staff can come up with a better approach that can show the logo.
Here is how you do it. Change file: /templates/ja_hawkstore/tpls/blocks/header.php at line 22 (Logo)
Previous code:
<!-- LOGO -->
<div class="span3 logo">
<div class="logo-<?php echo $logotype ?>">
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
</div>
</div>
<!-- //LOGO -->
New code:
<!-- LOGO -->
<div class="span3 logo">
<div class="logo-<?php echo $logotype ?>">
<?php if (!is_null($slogan)) : ?>
<h1>
<a href="<?php echo JURI::base(true) ?>" title="<?php echo strip_tags($sitename) ?>"<?php echo $logoimage ?>>
<span><?php echo $sitename ?></span>
</a>
<small class="site-slogan hidden-phone"><?php echo $slogan ?></small>
</h1>
<?php endif; ?>
</div>
</div>
<!-- //LOGO -->