Announcement

#1 2014-09-05 01:14:18

Thea
Guest

Problem with meta plugin

Hello,

the meta plugin works great, but only on albums pages. On photo pages no metadata for description or keywords appears in the source code of the pages.

Any idea?


Piwigo version: 2.6.3

 

#2 2014-09-05 06:53:39

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Problem with meta plugin

Hi :-)

What theme do you use ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2014-09-05 11:28:05

Thea
Guest

Re: Problem with meta plugin

Theme stripped. But I've tested theme elegant ---> same problem.

 

#4 2014-09-06 12:49:23

Thea
Guest

Re: Problem with meta plugin

Hi,

also curious,  the source code of the photo pages gives 2 different instructions for the robots:

<meta name="robots" content="noindex,nofollow">
<meta name="robots" content="follow">

 

#5 2014-09-06 18:39:56

Thea
Guest

Re: Problem with meta plugin

Hi ddtddt,

I found this: http://piwigo.org/bugs/print_bug_page.php?bug_id=2442

I have commented out the following lines (in picture.php):

if ( $metadata_showable and pwg_get_session_var('show_metadata') )
{
  $page['meta_robots']=array('noindex'=>1, 'nofollow'=>1);
}

and now everything works fine :)

 

#6 2014-09-08 07:29:25

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: Problem with meta plugin

Hi :-)

can you update plugin


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#7 2014-09-08 09:31:59

Thea
Guest

Re: Problem with meta plugin

Hi,

update tested - unfortunately no difference, same problems.

Had to comment out the lines in picture.php again to make it work.

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact