[archive] phpBB SEO Dynamic Meta Tags

Support for the phpBB2 SEO mods released in the phpBB2 SEO Toolikt forum.

Moderator: Moderators

Postby dcz » Sun Oct 22, 2006 11:25 am

And welcome :D

Well, phpBB page title are not defined in page_header.php, take a look at this thread to find out more.

You could as well take the info's from the meta tags calculus, but you would loose the old titles for pages not being index, categories, forums and topics.

It's better do do it from the files so that you don't mess up with the entire titling system.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby euroman » Sun Oct 22, 2006 12:29 pm

Thanks - Ahh....I see :D
euroman
PR0
PR0
 
Posts: 81
Joined: Sat Oct 21, 2006 10:18 pm

Postby AmirAbbas » Sun Oct 22, 2006 3:03 pm

hi :)

i asked you to tell me hoe can i remove keyword metatag and you said me how can i do it.
now i want to know

is it possible to have keyword metatag only for first page (index.php) ? :roll:
User avatar
AmirAbbas
phpBB SEO Team
phpBB SEO Team
 
Posts: 534
Joined: Thu May 11, 2006 3:30 pm
Location: IRAN

Postby dcz » Sun Oct 22, 2006 3:12 pm

If I remember well, the problem was only concerning the UTF-8 topic keywords, as you where not able to properly filter words from the search tables according to their size.

So, you could just work with a longer search_stopwords.txt, including one and two letters words, or just disable the keywords for topics, but leave everything else as his for a normal install.

You should just find and delete :

Code: Select all
        $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'];
      }

In the mod's code (page_header.php) and eventually, to prevent empty keywords tags to be outputted find :
Code: Select all
$phpbb_meta .= '<meta name="keywords" content="' . $keywords  .'" />' . "\n";


And replace with :
Code: Select all
$phpbb_meta .= isset($meta_topic_id) ? '<meta name="keywords" content="' . $keywords  .'" />' . "\n" : '';


++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Tue Oct 24, 2006 5:58 am

Hi I have installed Dynamic Meta tags MOD.
My board is in English but this MOD has this line
Code: Select all
$phpbb_meta .= '<meta name="description" lang="fr" content="'. $description .'" />' . "\n";

How to change it to english.
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby Peter77 » Tue Oct 24, 2006 6:58 am

Hello, nims. just change fr to en :)



Code: Select all
$phpbb_meta .= '<meta name="description" lang="en" content="'. $description .'" />' . "\n";
Peter77
phpBB SEO Team
phpBB SEO Team
 
Posts: 520
Joined: Wed May 10, 2006 9:46 am
Location: Michigan

Postby nims » Tue Oct 24, 2006 7:17 am

Thanks Peter :)
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby safito » Thu Nov 02, 2006 2:35 am

is there anyway that
instead of random words
you can actually do a keyword density
and avoid pronouns,
do things like get 3 word phrase keywords...
safito
 
Posts: 5
Joined: Thu Oct 26, 2006 3:28 am

Postby dcz » Thu Nov 02, 2006 9:16 am

Well, this is getting a lot better after you go through the meta tag and search table optimisation

The thing is we really want to output keywords that really are in the topic. Keywords should show up as they should be among the most used words in the forum.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby asiaexpat » Fri Nov 03, 2006 1:58 pm

I applied this mod but I am not sure if it is working or not--

I can see the keywords that I put in but i dont see any keywords from the topic. can you take a look and tell me if it is working?

I had installed a another meta tag mod years ago and maybe it is blocking the effect of your mod.

edit====Now I see if I open the post from the last post icon the source code is different than when i open from the topic name in the topics list. Same thread -different source codes
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Sat Nov 04, 2006 8:50 am

yep, post URLs are not our target, should be disallowed, so no need to add work for them ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby RedFoxy » Wed Nov 08, 2006 1:55 pm

I've installed that mod but i see always my meta keyword...
RedFoxy
 
Posts: 12
Joined: Fri Nov 03, 2006 4:20 pm

Postby dcz » Wed Nov 08, 2006 9:38 pm

I cannot check what's happening on your web site right now, it's unavailable from where I stand.

As, well it's handy hen asking for support to post a link ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby nims » Thu Nov 16, 2006 10:28 am

Are there any plans to update this MOD.
I see that the dynamic keyword generation is generating keywords like "kind,kindly,urgent etc" that actully do not have much weight / meaning or requirement in the keyword section.

Can this be improved ?
Secondly I dont see any phrases being added like "English songs, movie reviews etc" there are only single word keywords. So I feel there is a great scope for improvement. :)
Audio Ads - Earn from every visitor to your site
Buy Latest mobiles *** SEO India
nims
PR2
PR2
 
Posts: 243
Joined: Wed Oct 11, 2006 9:31 am
Location: New Delhi, India

Postby dcz » Thu Nov 16, 2006 10:33 am

The thing is we want to go fast as meta tags are not important enough to waist to much server resources.

So far, it's only selecting the most used words in the forum being as well part of the first post of each topic.

If you properly apply the optimizing method, you'll end up with a faster forum and better keywords.

I do plan to update this mod anyway, my goal will be to do better without adding as much SQL (it's not much right now, but could be lowered down I think). We'll see how far we can go ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

PreviousNext

Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests