ZenphotoCMS Forum
pagination - pages with duplicate title tags - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: pagination - pages with duplicate title tags (/thread-9661.html)



pagination - pages with duplicate title tags - tunafish - 2012-02-18

I was looking my website with Google's Webmaster Tools and in the HTML suggestions I am getting a few Pages with "duplicate title tags"

These are mainly the news pages, because I have quite a few, using pagination.
So each domain.com/news, domain.com/news/2, domain.com/news/3 has the same page title: "News"
This is a quick fix adding the pagenumber in the title & h1
But I can't find the right function..
I found getCurrentNewsPage() but that seems to be deprecated.




pagination - pages with duplicate title tags - acrylian - 2012-02-19

As the deprecated note says use the class method which is $_zp_zenpage->getCurrentNewsPage(). You could also directly check $_GET['page'])

Probably we should add this by default with 1.4.3. Could you please open a ticket so we don't forget?




pagination - pages with duplicate title tags - tunafish - 2012-02-19

That's odd I thought I tried it like that.. from the zp class.
Anyways thanks acrylian.
I am gonna have to learn how that ticket system works.. have no idea whatsoever :-)




pagination - pages with duplicate title tags - acrylian - 2012-02-19

Using the tickets is pretty self explanatory I think.