| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3301
|
|
| Back to top |
|
 |
|
 |
PerfRen
Joined: 01 Nov 2007 Posts: 36
|
Posted: 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


Joined: 10 May 2006 Posts: 512 Location: Michigan
|
Posted: 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.
++ |
http://www.phpbb.com/community/viewtopic.php?p=2039217#p2039217 |
|
|
| Back to top |
|
 |
PerfRen
Joined: 01 Nov 2007 Posts: 36
|
Posted: 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  |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |