By verclytte on Tuesday, 20 February 2018
Posted in General Issues
Likes 0
Views 523
Votes 0
Hi every one, i have a question.

Is it possible to transfer all easyblog articles from inherit from site to no index & no follow once, whithout modify each article ?
Hello,

The best approach is to modify each post. However, you can change it when displaying without modify the post but this will not get updated in your database. All you need to do is open this file: ../administrator/components/com_easyblog/includes/post/post.php , on line 6833, change from this:

if ($this->robots) {
$this->doc->setMetaData('robots', $this->robots);
}


to this:

$this->doc->setMetaData('robots', 'NOINDEX, NOFOLLOW');


Your codes will look like this http://take.ms/IS8DZ

Hope this helps.
·
Tuesday, 20 February 2018 11:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks you for your answer .
·
Thursday, 22 February 2018 02:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Thursday, 22 February 2018 09:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post