By Henri GILABERT on Sunday, 04 May 2014
Posted in General Issues
Replies 5
Likes 0
Views 737
Votes 0
Hello,

Is it possible to have EasyBlog setting <meta name="robots" content="noindex, nofollow" /> in EasyBlog pages ?

Thank you for your help
Hello Henri,

Hm, not too sure why you want to do that because you'll lose out on SERP altogether but if you need to, edit the file /components/com_easyblog/views/entry/view.html.php and add the codes below:


$document->setMetadata( 'robots' , 'noindex,nofollow' );
·
Sunday, 04 May 2014 23:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

The reason why I want to do this, it’s because I publish articles from RSS feeds, as far as I know, if Google's crawlers find duplicate items they apply sanctions to your site. If I publish articles from RSS in my blog is to offer my clients a single point of information and not to steal the intellectual property of the people who write the articles I publish.
·
Monday, 05 May 2014 17:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah I see thanks for the haeds up on this Henri
·
Monday, 05 May 2014 17:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Mark,

I had a look to 'view.html.php' and, because I'm not an php expert, I would like to know where to insert safely the code you provide me.

thank you for your help
·
Tuesday, 06 May 2014 00:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Henri,

You should place it after the block of codes below:


if ($print) {
// Add noindex for print view by default.
$document->setMetadata( 'robots' , 'noindex,follow' );
}
·
Tuesday, 06 May 2014 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post