I have a form that uses/links to Google's Search page to search for the input within my site. I have read other posts regarding
nofollow but I am confused if I should put
rel="nofollow" on the form just to prevent seemingly endorsing Google or its search page.
I mean, since I use Google Search page to process the input, wouldn't it be natural that
nofollow is not used? Will Google actually penalize my site if they discovered I did not use
nofollow, especially since I did not choose to use their pre-made Google Custom Search engine?
The code is below:
<form method='get' action='https://google.com/search' rel='nofollow' target='_blank'> <input type='hidden' name='sitesearch' value='mywebsite.com' /> <input type='search' name='q' placeholder='search via Google' /> <button title='search (opens in new tab)' type='submit' value='submit'>Search</button> </form>