search.php keywords mod_rewrite for advanced mod Rewrite

phpBB2 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories, forums and topic titles in their URLs.

Moderator: Moderators

Postby SeO » Mon Dec 10, 2007 1:30 pm

SeO wrote:In your overall_header.tpl ;)


in the template/ dir of the style you are using.
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Advertisement

Postby PerfRen » Mon Dec 10, 2007 1:31 pm

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

thanks anyway
PerfRen
 
Posts: 36
Joined: Thu Nov 01, 2007 4:11 pm

Postby Peter77 » Mon Dec 10, 2007 2:05 pm

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: Select all
      'WORD_SEARCH_URL' => append_sid("search.$phpEx?search_keywords=" . urlencode($word)),


Replace with :

Code: Select all
      '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: Select all
      '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.

++


:P

http://www.phpbb.com/community/viewtopi ... 7#p2039217
Peter77
phpBB SEO Team
phpBB SEO Team
 
Posts: 524
Joined: Wed May 10, 2006 9:46 am
Location: Michigan

Postby PerfRen » Fri Dec 21, 2007 11:27 am

Thanks for the help on this - all is working well now :D
PerfRen
 
Posts: 36
Joined: Thu Nov 01, 2007 4:11 pm

Previous

Return to phpBB2 Advanced mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests