Quote:
Thanks for the great post, Man.. you don't quit to surprise :)Quote:
Can you tell me how to fix/update the space with (-) in http://www.gadgets-shopping.com/search/carbon%20brushes so it would look like
http://www.gadgets-shopping.com/search/carbon-brushes
Unfortunatly you can't (at least not without some quite big hacking).
Basically, due to the way that the mod_rewrite simply "passes" the query along to search.cgi ... there is nowhere that can replace - with " " (AFAIK).
If I was to do this on my site... I would modify the global that is used to show the SearchLogger top results, so that it does;
$query =~ s| |-|gi;
.. but, like I said ... the - holds value in a search, thus if you called;
http://www.gadgets-shopping.com/search/carbon-brushes
...woudl translate to;
http://www.gadgets-shopping.com/cgi-bin/search.cgi?query=carbon-brushes
(i.e with the - still in it).
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!