How to no index no follow?

Phoca Gallery - image gallery extension
tchao57
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jul 2014, 22:00

How to no index no follow?

Post 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.

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to no index no follow?

Post 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
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: How to no index no follow?

Post 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
tchao57
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jul 2014, 22:00

Re: How to no index no follow?

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to no index no follow?

Post by Jan »

Hi, great, thank you very much for the plugin.

Jan
If you find Phoca extensions useful, please support the project
tchao57
Phoca Member
Phoca Member
Posts: 12
Joined: 27 Jul 2014, 22:00

Re: How to no index no follow?

Post 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/ ...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to no index no follow?

Post 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
If you find Phoca extensions useful, please support the project
Post Reply