Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 May 2012, 15:38
Seductor Seductor is offline
 
Join Date: May 2011
Query Parameters in Google Custom Search

I'm using Google Custom Search and I found that they ask to enter your 'Query Parameter'. It is the word or words that designate an internal query parameter such as "term,search,query". Sometimes the word is just a letter, such as "s" or "q".

However, vBulletin doesn't have query parameters in their url.

I'm wondering if someone could help me or give me an idea about how to display something like this in my search queries:

searchid=285790&q=word

Thanks.
Reply With Quote
  #2  
Old 17 May 2012, 13:30
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
The problem (as I see it) is the URL you get when you perform a search is really just a link to cached search results. The search query (url) itself actually looks a lot more like you would expect (with keywords in the URL) but it is not put in the final URL.

The actual keywords used in the query are technically saved in the "searchlog" table but the data is "serialized."

I suppose with an extra query on some search_results hook you could lookup the data from the searchlog table and attempt to reconstruct the URL, but I don't know if after the fact would be useful to Google or not. I suppose some sort of 301 redirect before the results are displayed could work but there is a lot of work and a lot of unknowns in trying something like this.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #3  
Old 05 Sep 2012, 21:41
Seductor Seductor is offline
 
Join Date: May 2011
If anyone is interested, Digital Point Analytics can do it.
Reply With Quote
  #4  
Old 06 Sep 2012, 14:16
Eosian Eosian is offline
 
Join Date: Feb 2009
You probably could've done this just by using the actual search URL, not the search result;


http://www.yoursite.net/search.php?search_type=1&do=process&query=searchforthis
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:04.

Layout Options | Width: Wide Color: