Advanced search  


CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Duplicate Album Title Tags - General SEO  (Read 2066 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Duplicate Album Title Tags - General SEO
« on: June 25, 2012, 04:12:35 pm »


I'm currently trying to fix some SEO issues with my gallery.

I can't seem to work out how to prevent duplicate Album Title Tags. I noticed a couple of other threads discussing it in addition to other problems. But I can't work out a simple solution.

Instead of every album page having the same Title Tag, I just want to add maybe a Page 2, Page 3 etc onto the title tags for the subsequent pages in an album.

Thanks for reading and any help or advice is greatly appreciated.



  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 9
  • do you remember 150 bps...
    • Test Site for Coppermine
Re: Duplicate Album Title Tags - General SEO
« Reply #1 on: June 27, 2012, 12:11:53 am »

It's been on my To DO list for a while...

One suggestion (I know it probably isn't correct) but I will throw the idea out there anyway, as long as your not using "{CUSTOM_HEADER}" ...
<title>{TITLE}</title>  Right?

How about:

In cpg config under Custom Header: random.php

create a file with the below php content called random.php in your photo gallery root..

$random = (rand()%1001);
print(" $random");
This is just a simple php random number generator, it will place a random number every time a page is loaded (between 0 and 1000)
Just haven't taken the time to bring in the unique page numbers (under thumbnail) or even if this is the correct direction to do so. This post might get some of the other brains working on a better way or ideas to properly accomplish what you need....

Hope this helps.

Pages: [1]   Go Up

Page created in 0.017 seconds with 20 queries.