The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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. |
#3
|
|||
|
|||
If anyone is interested, Digital Point Analytics can do it.
|
#4
|
|||
|
|||
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=searchfo rthis |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|