Thread: duplicate title
View Single Post
  #4  
Old 02-05-2008, 03:38 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: duplicate title

Crumbs, it was a while since I done this. But the answer was provided by a kind fellow somewhere within the XC-SEO thread. Looks like this one by cbarnes http://forum.x-cart.com/showpost.php?p=196528&postcount=367

Go into modules/XC_SEO/outputfilter.seo.php and find the function _insert_href_title()

right below it inside the function, find the line...

if((strpos(" title=",$found)===false)){

and change to this...

if((eregi("title=",$found)===false)){

Can't remember if the code needed changes .tpl-wise - I doubt it though. (Well except for the addition of the title tag which should take prominence outside of the XC-SEO mod)

Remember to back up, just in case ;D

Hope this helps.
Regards,
Doms
__________________
Doms
kube v4.1.9
Reply With Quote