Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-08-29 22:59:56

bio
New Member
Registered: 2009-07-24
Posts: 7

How do i add metadata to my txp website?

hi…

i’d like to add some metadata to my txp website so it can be trackable on google and other crawlers…can anyone tell me how?

thanks!

Offline

#2 2009-08-29 23:34:35

ultramega
Member
Registered: 2006-02-26
Posts: 221

Re: How do i add metadata to my txp website?

meta keywords is propably what you are looking for. Personally I haven’t thought about them for a long time. If you have content other ones like link to, then search engines like you too. Also think about internal links, text snippets what you are using… SEO is the thing you want to study :)

Offline

#3 2009-08-29 23:46:43

bio
New Member
Registered: 2009-07-24
Posts: 7

Re: How do i add metadata to my txp website?

thanks a lot ultramega, however i tried to add that tag to the head of a single article and it does not work…i mean, the html output is still empty:

<meta name=“keywords” content=“sauce,caramel,sugar” />

…and i do have keywords inserted for that article. any idea of what i’m doing wrong?

Last edited by bio (2009-08-30 00:18:44)

Offline

#4 2009-08-30 01:56:34

bio
New Member
Registered: 2009-07-24
Posts: 7

Re: How do i add metadata to my txp website?

actually i managed…the <txp:meta_keywords /> tag goes in the header form. however it just affects single articles and not the static ones.

does anyone know how to add meta keywords to the static articles?

thanks!

Offline

#5 2009-08-30 03:02:16

code365
Member
From: California
Registered: 2009-08-16
Posts: 117

Re: How do i add metadata to my txp website?

You can use the <meta name=“keyward” content=“art”/> this tag will pull from articles keywords.

<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=”<txp:lang />” <txp:lang />”>
<head>

<meta name=“description” content=“you enter your description here” /><br/> <meta name=“keywords” content=”“ />

</head>

<body>

</body>
</html>

Last edited by code365 (2009-08-30 03:02:41)

Offline

Board footer

Powered by FluxBB