| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
yaashul
Joined: 29 Aug 2007 Posts: 17
|
Posted: Sat Aug 09, 2008 6:23 pm Post subject: How to Delete words in search table |
|
|
I'm using phpbb 3.0.2... how to delete words from search_ignore... it wud be impossible to select few words and then rebuild search table...
| Quote: | In the end, we need to clean the search tables. To do this two solutions : Rebuild Search, which will totally rebuild your search tables or the simple script proposed in this article at phpBB.com.
The interesting part in it is the 4th : Delete search_stopwords from your search tables. |
The article u give in this Topic doesn't exist... What do u suggest? |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4551
|
Posted: Mon Aug 11, 2008 10:06 am Post subject: Re: How to Delete words in search table |
|
|
The problem is that phpBB3 does not use the stop word list at all yet (even though the function to do so is implemented).
So we'll need to work on this a bit before we'll be able to offer a working procedure to filter the search tables. |
_________________ phpBB SEO || SEO Forum || Forum Référencement
GYM Sitemap & RSS for phpBB3 has been released ! || GYM Sitemap & RSS for phpBB3 est disponible ! |
|
| Back to top |
|
 |
yaashul
Joined: 29 Aug 2007 Posts: 17
|
Posted: Wed Aug 13, 2008 4:22 am Post subject: Re: How to Delete words in search table |
|
|
| Can u please suggest me what shud I do to implement only meta description and ignore meta keyword part... |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
Posted: Wed Aug 13, 2008 2:56 pm Post subject: Re: How to Delete words in search table |
|
|
In includes/functions.php replace :
| Code: | | return sprintf( $this->meta['meta_tpl'], $this->meta['meta_title'], $this->meta['meta_lang'], $this->meta['meta_desc'], $this->meta['keywords'], $this->meta['meta_cat'], $this->meta['meta_robots'], $this->meta['meta_distrib'], $this->meta['meta_restype'], $this->meta['meta_copy'] ); |
with :
| Code: | | return sprintf( $this->meta['meta_tpl'], $this->meta['meta_title'], $this->meta['meta_lang'], $this->meta['meta_desc'], $this->meta['meta_cat'], $this->meta['meta_robots'], $this->meta['meta_distrib'], $this->meta['meta_restype'], $this->meta['meta_copy'] ); |
and then :
| Code: | | $this->meta['meta_tpl'] = '<meta name="title" content="%s" />' . "\n" . '<meta name="description" lang="%s" content="%s" />' . "\n" . '<meta name="keywords" content="%s" />' . "\n" . '<meta name="category" content="%s" />' . "\n" . '<meta name="robots" content="%s" />'. "\n" . '<meta name="distribution" content="%s" />' . "\n" . '<meta name="resource-type" content="%s" />' . "\n" . '<meta name="copyright" content="%s" />' . "\n"; |
with :
| Code: | | $this->meta['meta_tpl'] = '<meta name="title" content="%s" />' . "\n" . '<meta name="description" lang="%s" content="%s" />' . "\n" . '<meta name="category" content="%s" />' . "\n" . '<meta name="robots" content="%s" />'. "\n" . '<meta name="distribution" content="%s" />' . "\n" . '<meta name="resource-type" content="%s" />' . "\n" . '<meta name="copyright" content="%s" />' . "\n"; |
Should do 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 |
|
 |
yaashul
Joined: 29 Aug 2007 Posts: 17
|
Posted: Wed Aug 13, 2008 4:52 pm Post subject: Re: How to Delete words in search table |
|
|
| but it will run SQL query in viewtopic still....which wud not be any use in this case |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 4551
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |