Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Add head meta tags

9 years 3 months ago
Licenses:
JomSocial Expired

Hi,

i would like to know how can i add this metatag in the HEAD section of a user profile <meta name="robots" content="noindex,nofollow" />

thanks

9 years 3 months ago
Licenses:

Hi,

here the steps:
copy base.php from /components/com_community/templates/jomsocial/layouts/profile/ into /templates/[your frontend template]/html/com_community/layouts/profile/ (create this folder)

edit that copied file, and at line 11 (empty line), out this code

$doc =& JFactory::getDocument();
$doc->setMetaData('robots', 'noindex,nofollow');

Regards

9 years 3 months ago
Licenses:
JomSocial Expired

Hi albertus,

how can i apply the solution to jomsocial 3.2? I can't find that path.

thank you

9 years 3 months ago
Licenses:

Hi,

for old version you need to put it at:
/components/com_community/templates/default/profile.index.php

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW