Page 1 of 1

How to no index no follow?

Posted: 08 Jun 2019, 13:59
by tchao57
Hello everyone,

I'm looking for a way to set Phoca Gallery to tell Google not to index pages. With noindex and nofollow but I can not find anything in Phoca Gallery.

Do you have any idea where I can find this?

Joomla 3.8.7 and Phoca Gallery 4.3.10

Thank you in advance.

Re: How to no index no follow?

Posted: 09 Jun 2019, 11:10
by Jan
Hi, there is no such option, so the output must be customized - to each a tag this needs to be added manually - best with template override :idea:

Jan

Re: How to no index no follow?

Posted: 09 Jun 2019, 15:52
by christine
Hi,

some additional information:

1) your Joomla! version is outdated. Current version is: 3.9.6 (next week: 3.9.7)

2) Actual Phoca Gallery Component version: 4.3.18 https://www.phoca.cz/download/category/ ... -component

Update both versions please.

3) noindex,no follow:

a) robots.txt file:

Code: Select all

User-Agent: Googlebot-Image
Disallow: / 
but this belongs to all images, see here: https://support.google.com/webmasters/answer/35308

b) or: via Template Override:

Code: Select all

 JFactory->getDocument()->setMetadata('robots', 'noindex,nofollow');
c) or: via Plugin:
A colleague of mine (thanks to him) has written a new Plugin 1 hour ago 8)
https://github.com/GHSVS-de/plg_system_ ... g/releases for: component com_phocagallery.

Kind regards
Christine

Re: How to no index no follow?

Posted: 09 Jun 2019, 21:27
by tchao57
Thanks a lot for the Plugin. I downloaded and installed. I'm waiting to see if it's OK and I'll come back to you to tell you.

Re: How to no index no follow?

Posted: 11 Jun 2019, 13:04
by Jan
Hi, great, thank you very much for the plugin.

Jan

Re: How to no index no follow?

Posted: 15 Jul 2019, 18:40
by tchao57
Hello everyone,

I have a little problem again. The plugin seems to work but I still have a category that is indexed in Google.

Here is an example of an indexed page that I did not create in Joomla but which is indexed despite the NoIndex, NoFollow

http://www.lovaphoto-metz.fr/galeries-c ... lideshow=1

We see in the source of the page that there is a NoIndex, NoFollow but Google never stops indexing it. I have several pages like that indexed without me wanting it. These pages all have the same root that is /galleries-clients/ ...

Re: How to no index no follow?

Posted: 16 Jul 2019, 13:39
by Jan
Hi, hmmm, :-( unfortunately if there are noindex and nofollow and Google still indexes it, I think, this is much more a question on Google developers :-( Really hard to give some clue advice :-(

Jan