An Interest In:
Web News this Week
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
April 28, 2020 10:10 pm GMT
Original Link: https://css-tricks.com/how-to-redirect-a-search-form-to-a-site-scoped-google-search/
How to Redirect a Search Form to a Site-Scoped Google Search
This is just a tiny little trick that might be helpful on a site where you don’t have the time or desire to build out a really good on-site search solution. Google.com itself can perform searches scoped to one particular site. The trick is getting people there using that special syntax without them even knowing it.
Make a search form:
<form action="https://google.com/search" target="_blank" type="GET"<labelSearch CSS-Tricks on Google: <input type="search" name="q"</label<input type="submit" value="Go"</form
When that form … Read article “How to Redirect a Search Form to a Site-Scoped Google Search”
The post How to Redirect a Search Form to a Site-Scoped Google Search appeared first on CSS-Tricks.
Original Link: https://css-tricks.com/how-to-redirect-a-search-form-to-a-site-scoped-google-search/
Share this article:
Tweet
View Full Article