Michael_IO
New member
Hi,
I want to prevent that Google indexes member profiles and while looking at the member_view template, I noticed that there already is a conditional for this:
However, I'm wondering, what is necessary to make this conditional "true"? I haven't found an option to not allow indexing of member profiles, so what exactly affects this conditional? Of course I can just get rid of the conditional statement and my issue is solved, but I would like to understand this as it may not be necessary to modify the template. Maybe I overlooked an option somewhere?!
I want to prevent that Google indexes member profiles and while looking at the member_view template, I noticed that there already is a conditional for this:
Code:
<xf:if is="!$user.isSearchEngineIndexable()">
<xf:head option="metaNoindex"><meta name="robots" content="noindex" /></xf:head>
</xf:if>
However, I'm wondering, what is necessary to make this conditional "true"? I haven't found an option to not allow indexing of member profiles, so what exactly affects this conditional? Of course I can just get rid of the conditional statement and my issue is solved, but I would like to understand this as it may not be necessary to modify the template. Maybe I overlooked an option somewhere?!