I'm in the process of adding the Google Custom search engine on my blog, LonePlacebo.com, and noticed that the search query url that shows up looks like a mess like so:
But, when I tried the same CSE in CSS-Tricks, the url is much "cleaner" like so: http://css-tricks.com/search-results/?q=css
Any ideas why the discrepancy?
preguntado el 27 de agosto de 11 a las 23:08
Csstricks is using the custom search element.
You're still using the iframe option, which is no longer supported. Not sure how much longer it's going to work. iframe deprecated
Log-in to the Google CSE control panel and choose "results only" layout, this way, you can still use the same search box on your home page.
Once you switch, you can remove this: (which makes the "messy" url you speak of)
<input type="hidden" name="cx" value="016164296208729675189:qq4uaxnfgew"/> <input type="hidden" name="cof" value="FORID:11"/> <input type="hidden" name="ie" value="UTF-8"/>