Forum Moderators: phranque

Message Too Old, No Replies

Google CSE Form action URL?

         

keyplyr

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

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




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">

not2easy

10:02 am on Sep 16, 2016 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



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...]

keyplyr

10:26 am on Sep 16, 2016 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



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.