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>
nofollow
should not be used for. (But crawlers don't work like that anyway.)nofollow
on all external links is to prevent linkspam, this is because the links are untrusted (nothing to do with whether the domain that is linked to is trusted or not). Anybody can add links to Wikipedia - this is what makes the link untrusted. See this recent question with regards to Wikipedia andnofollow
: webmasters.stackexchange.com/questions/112079/…nofollow
is not the fix, the solution is to prevent low quality being created... you're attempting a band-aid for a much bigger problem.