I would like to redirect a search query to google from a chrome extension but google/chrome does not allow it.
I'm to ask a simple link that will redirect to the following: https://www.google.com/search?q=tesla+news. But since my domain is (for example) www.tesla-news.com I cannot redirect to google.com/search?q=tesla+news but just to redirect to tesla-news.com/search?q=tesla+news. And also allow people to search themselves within google chrome extension and simply redirect them to google.
I was thinking of doing some kind of simple re directing in server side? For example - getting tesla-news.com/search?q=tesla+news in my site and redirecting to https://www.google.com/search?q=tesla+news.
Does anybody have an idea how to solve it?
Thanks!