Home
Forum
Extensions
Developer Portal
VirtueMart Forum
VirtueMart & Joomla! - The Future of eCommerce
Home
Help
Search
Login
Register
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Support the VirtueMart project and become a
member
VirtueMart Forum
»
VirtueMart 1.1.x [ Old version - no longer supported ]
»
Security (https) / Performance / SEO/ SEF issues VM 1.1
(Moderator:
aravot
) »
Nofollow for images of products in category
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Nofollow for images of products in category (Read 62617 times)
ateusz
Beginner
Posts: 3
Nofollow for images of products in category
«
on:
December 20, 2012, 02:38:07 am »
Hello,
I would like for images of products in each category to add rel="nofollow". Which file I should edit?
Thank you for your help,
Logged
JoanC
Beginner
Posts: 1
A beginner
Re: Nofollow for images of products in category
«
Reply #1 on:
August 26, 2015, 15:13:36 pm »
If you want to add rel="nofollow" to the Image Hyperlinks, simply add this to your theme’s functions.php file:
1.add_filter( 'soliloquy_output_link_attr', 'tgm_soliloquy_rel_nofollow' );
2.function tgm_soliloquy_rel_nofollow( $attr ) {
3.
4. return $attr .= ' rel="nofollow"';
5.
6.}
Joan from
http://www.HaveSomeSpam.net/
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
VirtueMart Forum
»
VirtueMart 1.1.x [ Old version - no longer supported ]
»
Security (https) / Performance / SEO/ SEF issues VM 1.1
(Moderator:
aravot
) »
Nofollow for images of products in category
We use cookies, just to track visits to our website, we store no personal details.
OK
Learn more