Advanced search  

News:

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: Modify page title for index.php  (Read 2609 times)

0 Members and 1 Guest are viewing this topic.

marecki

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Modify page title for index.php
« on: October 24, 2008, 12:00:41 pm »

When index.php display category index, the page title is "Gallery Name - Category Name". And that is correct.
But when index.php display main page of gallery, the page title is "Gallery Name - HOME PAGE". This title is also indexed by Google and it look very bad for me :(

How to remove text "- HOME PAGE" when index.php display main page?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Modify page title for index.php
« Reply #1 on: October 25, 2008, 12:05:37 pm »

To just change the wording, edit the language file (i.e. lang/english.php) with a plain text editor and find
Code: [Select]
$lang_list_categories = array(
  'home' => 'Home',
and edit as you see fit. You might change it to
Code: [Select]
$lang_list_categories = array(
  'home' => 'Gallery overview',
or similar.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.