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: description and keywords  (Read 3130 times)

0 Members and 1 Guest are viewing this topic.

alanpalan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
description and keywords
« on: January 22, 2008, 10:24:03 pm »

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:

Code: [Select]
<!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
Code: [Select]
<meta name="description" content="Photos from Doctor Who." />
<meta name="keywords" content="doctor who, tardis, sci-fi, series, time travel, rose tyler" />

and change
Code: [Select]
<title>{TITLE}</title> to
Code: [Select]
<title>Doctor Who fan page - photo gallery</title>

Everything is ok? Thanks!
« Last Edit: January 23, 2008, 08:16:00 am by Joachim Müller »
Logged

alanpalan

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: description and keywords
« Reply #1 on: January 22, 2008, 10:36:59 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: description and keywords
« Reply #2 on: January 23, 2008, 08:26:11 am »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.