Member
Member
tunafish   2012-02-18, 23:54
#1

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.

Administrator
Administrator
acrylian   2012-02-19, 10:29
#2

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?

Member
Member
tunafish   2012-02-19, 10:43
#3

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 :-)

Administrator
Administrator
acrylian   2012-02-19, 11:04
#4

Using the tickets is pretty self explanatory I think.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.