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

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

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