News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How can I put the 1st Post Text as Page description? (no good)

Started by distante, August 10, 2009, 03:17:09 PM

Previous topic - Next topic

distante

I have been changes in my index.template following this spanish manual: http://www.simplemachines.org/community/index.php?topic=256406.0

But Like frony says, using this:

<meta name="description" content="', $aim[rand(0,7)] ,'" />

Will only make 8 different pages to google spiders or anothers.

I have seen forums vBulletin where the page description is filled with text extracted from the topic's first message.

I don't know much about PHP, so I hope somebody of the masters here can help me to do that.

Also I think - If it's possible -  this will be a good feature to the final SMF 2.

Thank you for your help and sorry for my bad English   :-\

Arantor

What would be the benefit of doing that versus just letting the spider index the forum normally?

distante

Quote from: Arantor on August 11, 2009, 06:37:26 PM
What would be the benefit of doing that versus just letting the spider index the forum normally?

Because the spider takes 2 pages with the same description as "duplicate content". I put the same post in 2 forums, one smf and the other vB, the spider index first, no no, the spider ONLY index the topic from vB because looks like this:

Topic Title here.
In here was the initial text of the post at least the first 12 words or so.

The pages indexed in smf looks like this:

Topic Title here.
FORUM description here.

Google is punishing duplicate content :(

distante

This are the link to the two post

vBulletin : http://www.villaforos.com/musica/15088-ozz-presenta-primer-videoclip-oficial.html

SMF :  http://www.lanuevacuadra.com/show-y-espectaculo/ozz-presenta-su-primer-videoclip-oficial/

In the vBulletin forum the generated page have this code :

Quote
<base href="http://www.villaforos.com/" /><!--[if IE]></base><![endif]--> <link rel="canonical" href="http://www.villaforos.com/musica/15088-ozz-presenta-primer-videoclip-oficial.html" /> <meta name="verify-v1" content="oX8qLoAadDTMCROxEhPYBryTWeihE1dyzdwrx0AHb3M=" />  <link rel="shortcut icon" href="http://www.villaforos.com/favicon.ico" />  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta name="generator" content="vBulletin 3.8.1" /> <meta name="keywords" content="Ozz,Presenta,primer,videoClip,Oficial, Ozz Presenta su primer videoClip Oficial, foro,foros,foroperu,peru,peruanos,comunidad,informatica,noticias,politica,economia,salud,educacion, cine, tv, espectaculos,ciencia,moda,belleza,gastronomía,animales,mascotas,teologia,futbol,WWE,wrestling,videojuegos,programacion,vb6,visual,basic,delphi,java,php" /> <meta name="description" content="Luego de cierto tiempo de separación de los escenarios la banda Ozz dará un concierto gratuito para presentar su primer videoclip oficial realizado de " />  <style type="text/css" id="vbulletin_css">

That post (the vBulletin one) was indexed in one day  ::)

Arantor

Let me guess... the vBulletin one was around long before the SMF one and has better quality backlinks and more posts?

Let me clear this up. Google does not use that content to determine how quickly pages should be indexed. Speed of crawling will be based on quality of backlinks, length of being established, regularity of content changing - and nothing to do with the meta description.

distante

#5
Quote from: Arantor on August 12, 2009, 06:19:01 AM
Let me guess... the vBulletin one was around long before the SMF one and has better quality backlinks and more posts?

Let me clear this up. Google does not use that content to determine how quickly pages should be indexed. Speed of crawling will be based on quality of backlinks, length of being established, regularity of content changing - and nothing to do with the meta description.

so, you said this is not important? because I saw a lot of smf forums unindexed because they have the same description  ::)

How the google spider punish duplicate content then?  ::)


When I look my indexed pages, never shows the post content :

http://www.google.com.pe/search?q=site:lanuevacuadra.com&hl=es&client=firefox-a&rls=org.mozilla:es-ES:official&hs=tub&start=30&sa=N

:(

Arantor

Actually the majority of the reason SMF forums don't get indexed is because of the lack of backlinks and the fact that it takes weeks, even months to get into Google.

That said, I have a forum whose description is pretty much the base 2.0 install's one, with a few keywords put into the meta tags' keywords block. And yet, it's in Google and it's up to date despite having under 500 posts. The key: good keywords, good backlinks. The description is just 'World of Thoughts - Index', I kid you not.

distante

I see, but this will not be more user friendly?  I mean search and see some off the content? I'm kind of new in seo :-\

Arantor

I've always found that Google actually uses the main page's content around the words you've specified rather than using the description.

The fundamental problem with doing it is that you will - whatever happens with this - slow your forum down because you have to do a second database query.

Also: if you're on page 2 of a thread do you get the post in page 1, or the first post on page 2? Either way, it's a performance impact and likely duplicating content too.

distante

I will let my description with the standard page title then, thanks for your help

dgswilson

Webmaster tools tells me that I have some short meta descriptions. The pages it lists are forum posts. That means they've been indexed. Pages with no meta description/keywords will be indexed.

Forum meta descriptions are generated automatically. The only way to have two the same is to post something twice. ( this is the case if nothing is tinkered with )

The answer to your question is: you can't. The good news is: it's already been done...hxxp:www.dgswilson.com/index.php [nonactive]


distante

I was watching my google stats and because of that I want to bump this topic.

I wold like no only chance the metadescription but the TITLE too.

Google Says that I'm repeating have 800 titles, this is because the titles are like this: "RE: topic"

Any ideas of how to make this?

Alguna idea?

Kill Em All



My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

distante

well What I  want to do is make betters page descriptions for search engines.

All the post in a topic have the same description as the index page. And google takes this as duplicate content.

Kill Em All

Sorry, but as far as I know there is not much of a way to change how that works. I believe every forum software is like that to. Just the way forums are. You reply to the topic that has a title. Sorry. :(


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: