Friendly URL with complex query

I searched for the keyword "CTO" in google and got this URL in the address bar. And I am wondering can anybody make this into a friendly URL.

http://www.google.com.ng/search?hl=en&sclient=psy-ab&q=cto&oq=cto&gs_l=serp.3...939821.940377.0.940735.3.3.0.0.0.0.0.0..0.0...0.0.UflIOzQsuv4&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&biw=1066&bih=646&ech=1&psi=0CX0T7iHBoXU-gbn96TvBg.1341400545114.3&emsg=NCSR&noj=1&ei=0CX0T7iHBoXU-gbn96TvBg

My question is that is it possible to have a friendly url that is equivalent to this? If true, how?

Example: http://www.google.com.ng/search/{mysearchcriteria}

Answers


Use a service like bitly.com or TinyURL. The idea is simple, take a URL, store it in a datastore (most likely NoSQL), and assign it a unique identifier, and issue an HTTP redirect whenever you receive the identifier. The real trick is in managing the datastore that maps the URLs. Give this blog post a read to understand bit.ly a little more.


https://www.google.com/search?q=CTO

this will give you same result


Need Your Help

WCF service operations to return an object graph

linq wcf-data-services odata

I have a WCF service Operation, I'd like it to return an object graph rather than a simple list of objects. Is there some magic LinQ to do this?

does url_for use to_param when building route

ruby-on-rails routes custom-routes

I'm having trouble getting url_for to render take to_param into account when choosing which route to use.