My Apache server will be receiving incoming requests from users in this format:
http://192.168.1.182/SEARCH=searchstring&URL=http://test.com/blahblahblah
I want to redirect users to another domain, but keep the searchstring and add that at the end of the new URL.
Example:
https://newdomain.com/#q=searchstring
What is the best way to do this?
I read the Apache Docs on Redirecting and Remapping with mod_rewrite and tried various examples but couldn't get anything to work.