description and keywords description and keywords
 

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

description and keywords

Started by alanpalan, January 22, 2008, 10:24:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alanpalan

I'd like to add to code of my Coppermine page "description" and "keywords" because of search engines. So, I want to ask if it is ok like this:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="mssmarttagspreventparsing" content="true" />
<meta name="description" content="Photos from Doctor Who." />
<meta name="keywords" content="doctor who, tardis, sci-fi, series, time travel, rose tyler" />
<title>Doctor Who fan page - photo gallery</title>

<link rel="stylesheet" href="themes/greenflower/style_cpg.css" type="text/css" />
<link rel="stylesheet" href="themes/greenflower/style_wp.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>


I just added this

<meta name="description" content="Photos from Doctor Who." />
<meta name="keywords" content="doctor who, tardis, sci-fi, series, time travel, rose tyler" />


and change <title>{TITLE}</title> to<title>Doctor Who fan page - photo gallery</title>


Everything is ok? Thanks!

alanpalan

By the way, the possibility of editing your own posts would be useful :)

Joachim Müller

I edited your initial posting and removed the second one. Editing of postings has been deliberately disabled because of previous abuse.

The title will be put right if you fill in the gallery name and description fields in coppermine's config. Static titles are not a bright idea in terms of search engine optimization. For details, read http://forum.coppermine-gallery.net/index.php?topic=40951.0

If you want to add meta keywords, do as suggested here: http://forum.coppermine-gallery.net/index.php?topic=43650.msg226432#msg226432