Welcome to WebmasterWorld Guest from 3.82.52.91

Forum Moderators: phranque

Message Too Old, No Replies

Google CSE Form action URL?

     
1:55 am on Sep 16, 2016 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 891



Switching to Google Custom Search Engine for site search. Created a results page & installed the script. When I search from the form field on this page, the results display as intended, but I use a search on every page of the site. I want the form results to point to this page.

Where would I find (or how would I build) the URL to use for:
<form action="http://example.com/" method="get">
10:02 am on Sept 16, 2016 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:4166
votes: 262


I used their search many years ago but not recently. I searched and found a tutorial that might help. Can't get specific information without being logged in though - so you can check it here: [developers.google.com...]
10:26 am on Sept 16, 2016 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:12913
votes: 891


Voila! That did it :)

Thanks for the link not2easy. I had read much the same info on two other pages in GSC but I needed the exact query language (I was just guessing at it.) This page had an example the others didn't.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members