Meta tags just for index.php Meta tags just for index.php
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Meta tags just for index.php

Started by wipqozn1, July 09, 2007, 01:48:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wipqozn1

Hi there,

I've created dynamic meta tags for my gallery (displayimage.php and thumbnails.php). There is only one problem - this not include the main page. So my question is: how could I create a STATIC meta tags JUST for my index.php page?

Joachim Müller

The pageheader function allows as second parameter a meta tag. Edit index.php, findpageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome']);and replace withpageheader($BREADCRUMB_TEXT ? $BREADCRUMB_TEXT : $lang_index_php['welcome'], '<meta name="foo" content="bar" />');

wipqozn1