Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Nofollow for images.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-01-2008, 10:04 AM
 
amxfan amxfan is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 45
 

Default Nofollow for images.

Is there an easy way to add a global Rel="nofollow" to all images in my site?

As of now I'm using the default layout of X-Cart and wish the bots to follow the text links to the cart page and not the image links to the cart page so I can get the added anchor text weight for that link. I do not want to remove the image link as visitors are more prone to click a pretty image than they are a text link.

Does anyone know or can assist me in doing this?

Any help would be appreciated.
Thanks
__________________
Version 4.1.10
CDSEO
Reply With Quote
  #2  
Old 08-01-2008, 10:28 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Nofollow for images.

There's no easy way to do this, you'd have to manually locate the file templates and add the code to the links around images, starting with these files which would handle the majority:
skin1/customer/main/products.tpl
skin1/customer/main/products_t.tpl
Reply With Quote
  #3  
Old 08-01-2008, 11:06 AM
 
amxfan amxfan is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 45
 

Default Re: Nofollow for images.

K thanks
I will go in and see what I can do.
__________________
Version 4.1.10
CDSEO
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:17 AM.

   

 
X-Cart forums © 2001-2020