Exclude image url from search query
I have a question today. I have recently completed a website and there is search box integrated. And, I have a post which has an attachment(attachment’s url is www.sample.com/image/sampleimage.jpg) added and no such word “sample” in the body of the post. Today, i noticed that the post can be found when searching “sample” that hit the word in the url. Is there anyway to exclude the attachment url from search query? Any solution? Thanks in advance!