| :: |
| Author |
Message |
murph
Joined: 24 Jun 2006 Posts: 14
|
Posted: Sat Jun 24, 2006 4:39 pm Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
Thanks for your fast reply
Yes, i appreciate that meta keywords are not what they once were...but still, every little helps and there are still *some* SE's using them out there!
I just find a bunch of one word keywords is less likely to be any good than phrases. I have seen your optimisation to avoid words of less than 3 letters, but i haven't yet found that to be a major problem in my case...(famous last words )
I reckon even adding the whole title as a keyword phrase would be a step in a better direction...that should be an easy hack for me to do by myself...but turning a 3,4,5,6 or 7 word phrase into 3,4,5,6 or 7 variables in order to output the various sequences is beyond my simple understanding of php!  |
|
|
| Back to top |
|
 |
|
 |
murph
Joined: 24 Jun 2006 Posts: 14
|
Posted: Sat Jun 24, 2006 4:41 pm Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
Oh and before i forget, i actually reversed the order of the sitename,cat title and forum name etc, as i have found the first words to be the most important in the meta description:
| Code: | | $description = $meta_row['topic_title'] . ' :: ' . $meta_row['forum_name'] . ' :: ' . $meta_row['cat_title'] . ' :: ' . $board_config['sitename']; |
What do you think? Of course there are 2 other places where that needs to be done also.... |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15131
|
Posted: Sat Jun 24, 2006 4:59 pm Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
Don't forget many search engine will show meta description in their search results, so you also want to be human-friendly here
I personally prefer the natural order (general => less=> general => particular), but, this is something left to every-body's choice, because, there should not be that much of a difference here, as far as showing up in search engine correctly.
You can move code as you want here, and play with the provided info for each case (index, cat, forum & topic), as long as you don't mess up with php  |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
murph
Joined: 24 Jun 2006 Posts: 14
|
Posted: Sat Jun 24, 2006 5:07 pm Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
| dcz wrote: | Don't forget many search engine will show meta description in their search results, so you also want to be human-friendly here
|
That's one of the reasons i did it!
I think i'll go with sticking the topic_name in as one of the keywords (1st) and be done with it! I'm subscribed to this thread, so if you do make any changes i'll be sure to check em out!  |
|
|
| Back to top |
|
 |
murph
Joined: 24 Jun 2006 Posts: 14
|
Posted: Wed Jun 28, 2006 12:10 pm Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
hey me again
I want to install a subforums mod, but i have a fully setup site with lots of hacks/mods in place, so i can't do the categories hierarchy version.
I was looking into installing the easy subforums mod:
http://www.phpbbhacks.com/download/5990
Will the dynamica meta tags mod work with this and if so what changes would i have to use? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15131
|
|
| Back to top |
|
 |
legal
Joined: 05 Jul 2006 Posts: 42
|
Posted: Wed Jul 19, 2006 11:59 am Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
I just want to say that I think this mod in particular is absolutely genius!
Thank you.
 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15131
|
|
| Back to top |
|
 |
legal
Joined: 05 Jul 2006 Posts: 42
|
Posted: Thu Jul 20, 2006 11:34 am Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
Hi there!
I don't expect you to help me do this (unless you really want to ) but this would be my suggestion for a slightly different version of this script.
I think it's a brilliant script - this is just my idea.
I think the way it works in the index page is great and I think the way it works on the topic pages is great too. My suggestion is to change how it works on the list of topics pages.
e.g. Here is one of my pages:
http://www.legalitforums.com/visualfiles-vf3.html
I think it would be better if this could somehow use the words that appear on this page in the title of each topic. Most of my main index page keywords don't appear on this page so they're not really relevant, but words taken from the topics titles would be perfect!
 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15131
|
|
| Back to top |
|
 |
lavinya PR1


Joined: 24 Jul 2006 Posts: 159 Location: Turkey
|
Posted: Mon Jul 24, 2006 10:46 am Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
thanks for the mod.
I Want to use only description tag code exept page title, keywords tags.
if you help me I will be happy. thanks. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15131
|
Posted: Mon Jul 24, 2006 10:52 am Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
And welcome
So you want to only use the description tag ? nothing else ?
Then, in the mod's code :
Delete :
| Code: |
$sql = "SELECT w.word_text
FROM " . TOPICS_TABLE . " t, " . SEARCH_MATCH_TABLE . " m, " . SEARCH_WORD_TABLE . " w
WHERE t.topic_first_post_id = m.post_id
AND m.word_id = w.word_id
AND t.topic_id = $meta_topic_id LIMIT 20";
if( ($result = $db->sql_query($sql)) ) {
$keywords = '';
while ( $meta_row = $db->sql_fetchrow($result) ) {
$keywords .= ($keywords == '') ? $meta_row['word_text'] : ',' . $meta_row['word_text'];
}
} |
Delete :
| Code: |
$keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', ' . $meta_row['forum_name'] . ', FEW_MORE_KEYWORDS_COMA_SEPARATED'; |
Delete :
| Code: |
$keywords = $board_config['sitename'] . ', ' . $meta_row['cat_title'] . ', FEW_MORE_KEYWORDS_COMA_SEPARATED'; |
Delete :
| Code: | | $keywords = 'YOUR_DEFAULT_KEYWORDS_COMA_SEPARATED'; |
Delete :
| Code: |
$phpbb_meta = '<meta name="title" content="' . $page_title .'" />' . "\n";
//$meta_str .= '<meta name="author" content=" YOUR_AUTHOR_INFOS " />' . "\n";
//$meta_str .= '<meta name="copyright" content=" YOUR_COPYRIGHT_INFOS " />' . "\n";
$phpbb_meta .= '<meta name="keywords" content="' . $keywords .'" />' . "\n"; |
Delete :
| Code: | $phpbb_meta .= '<meta name="category" content="general" />' . "\n";
$phpbb_meta .= '<meta name="robots" content="index, follow" />' . "\n"; |
And it should be it
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
lavinya PR1


Joined: 24 Jul 2006 Posts: 159 Location: Turkey
|
Posted: Mon Jul 24, 2006 12:03 pm Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
very thanks dcz.
dcz big sql query's and
google not see keywords tag. sorry bad english.
re thanks mod  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15131
|
|
| Back to top |
|
 |
thecoalman
Joined: 18 Aug 2006 Posts: 3
|
Posted: Fri Aug 18, 2006 8:13 am Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags |
|
|
| Excellent mod, just what I was looking for... anyhow I have a suggestion. For viewforum.php couldn't you use the forum description that is viewable under the forum title used in index.php for the meta description? |
|
|
| Back to top |
|
 |
|
|