I need to replace the encoded value for the & sign in my url so the search query is successful. Im struggling to copy a similar method from the solution in this post for a query string such as below.
lovelakedistrict.com/result/?q=Brookfield+Bed+%2526+Breakfast
I want it to be like so
lovelakedistrict.com/result/?q=Brookfield+Bed+&+Breakfast
The reason being is that the url with the %2526 is indexed in google and is obviously broken.