phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
[archive] phpBB SEO Dynamic Meta Tags
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
murph



Joined: 24 Jun 2006
Posts: 14

[archive] phpBB SEO Dynamic Meta TagsPosted: Sat Jun 24, 2006 4:39 pm    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

Thanks for your fast reply Smile

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 Smile)

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! Wink
Back to top
murph



Joined: 24 Jun 2006
Posts: 14

[archive] phpBB SEO Dynamic Meta TagsPosted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

[archive] phpBB SEO Dynamic Meta TagsPosted: 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 Wink

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 Wink

_________________
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
Visit poster's website
murph



Joined: 24 Jun 2006
Posts: 14

[archive] phpBB SEO Dynamic Meta TagsPosted: 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 Wink


That's one of the reasons i did it! Wink

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! Very Happy
Back to top
murph



Joined: 24 Jun 2006
Posts: 14

[archive] phpBB SEO Dynamic Meta TagsPosted: Wed Jun 28, 2006 12:10 pm    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

hey me again Smile

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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

[archive] phpBB SEO Dynamic Meta TagsPosted: Wed Jun 28, 2006 12:25 pm    Post subject: ntway,

Well I'd say use simple sub forum instead, it's doing it better according to me and has better not to cause problems while upgrading to phpBB3.

Besides, the phpBB SEO mod Rewrite add on for it is already here Wink

Anyway, the meta should work the same in all case, as long as you do not use CH, otherwise, you'd have to use the CH Edition Wink

_________________
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
Visit poster's website
legal



Joined: 05 Jul 2006
Posts: 42

[archive] phpBB SEO Dynamic Meta TagsPosted: 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.
Very Happy Very Happy Very Happy Very Happy Very Happy
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

[archive] phpBB SEO Dynamic Meta TagsPosted: Wed Jul 19, 2006 12:39 pm    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

You're welcome Wink

_________________
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
Visit poster's website
legal



Joined: 05 Jul 2006
Posts: 42

[archive] phpBB SEO Dynamic Meta TagsPosted: 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 Wink) 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!

Very Happy
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

[archive] phpBB SEO Dynamic Meta TagsPosted: Thu Jul 20, 2006 11:39 am    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

Yes I know, but the problem here is you'd need one extra SQL and quite some more code to do this at this point.

Cat and forum titles should contain related keywords though, as well I am thinking of enhancing the listing presentation, something like separating words a bit and why add some random Wink

++

_________________
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
Visit poster's website
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

[archive] phpBB SEO Dynamic Meta TagsPosted: 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
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

[archive] phpBB SEO Dynamic Meta TagsPosted: Mon Jul 24, 2006 10:52 am    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

And welcome Wink

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 Wink

++

_________________
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
Visit poster's website
lavinya
PR1
PR1


Joined: 24 Jul 2006
Posts: 159
Location: Turkey

[archive] phpBB SEO Dynamic Meta TagsPosted: Mon Jul 24, 2006 12:03 pm    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

very thanks dcz. Wink

dcz big sql query's Sad and
google not see keywords tag. sorry bad english.

re thanks mod Smile
Back to top
Visit poster's website
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15131

[archive] phpBB SEO Dynamic Meta TagsPosted: Mon Jul 24, 2006 12:17 pm    Post subject: Re: [archive] phpBB SEO Dynamic Meta Tags

Not that big, just one more for topics Wink

But it is true it's not as important as it used to be, but still, it's a bit better to provide infos in meta tags.

++

_________________
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
Visit poster's website
thecoalman



Joined: 18 Aug 2006
Posts: 3

[archive] phpBB SEO Dynamic Meta TagsPosted: 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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 2 of 9 Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Navigation Similar Topics

Jump to: