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  
 
   
search.php keywords mod_rewrite for advanced mod Rewrite
Goto page Previous  1, 2
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
::  
Author Message
SeO
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 15 Mar 2006
Posts: 3301

search.php keywords mod_rewrite for advanced mod RewritePosted: Mon Dec 10, 2007 1:30 pm    Post subject: Re: search.php keywords mod_rewrite for advanced mod Rewrite

SeO wrote:

In your overall_header.tpl Wink


in the template/ dir of the style you are using.

_________________
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
PerfRen



Joined: 01 Nov 2007
Posts: 36

search.php keywords mod_rewrite for advanced mod RewritePosted: Mon Dec 10, 2007 1:31 pm    Post subject: Re: search.php keywords mod_rewrite for advanced mod Rewrite

Oh sorry didnt see the overal header line in your previous post

thanks anyway
Back to top
Peter77
phpBB SEO Team
phpBB SEO Team


Joined: 10 May 2006
Posts: 512
Location: Michigan

search.php keywords mod_rewrite for advanced mod RewritePosted: Mon Dec 10, 2007 2:05 pm    Post subject: Re: search.php keywords mod_rewrite for advanced mod Rewrite

Here is a pretty neat add-one dcz introduced to it a while back... not sure if you remember this, dcz.

dcz wrote:
Then some could consider to rather use the google (or whatever else search engine) to output results instead of the phpbb search function in order to save some server ressources.


To do so open wordgraph.php :
Find :
Code:

      'WORD_SEARCH_URL' => append_sid("search.$phpEx?search_keywords=" . urlencode($word)),


Replace with :

Code:
      'WORD_SEARCH_URL' => 'http://www.google.fr/search?&q=' . urlencode($word),


This could also be set so you use a "your site only search", but it would reqire to be pretty well indexed.

Replacing with this instead :
Code:
      'WORD_SEARCH_URL' => 'http://www.google.fr/search?&q=site%3A'.$board_config['server_name'] . '+' . urlencode($word),



The word finding part is nice and fast, thx.

++


Razz

http://www.phpbb.com/community/viewtopic.php?p=2039217#p2039217
Back to top
PerfRen



Joined: 01 Nov 2007
Posts: 36

search.php keywords mod_rewrite for advanced mod RewritePosted: Fri Dec 21, 2007 11:27 am    Post subject: Re: search.php keywords mod_rewrite for advanced mod Rewrite

Thanks for the help on this - all is working well now Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB mod Rewrite  » Advanced mod Rewrite
Page 2 of 2 Goto page Previous  1, 2

Navigation Similar Topics

Jump to: