I have to replace the encoded value for that &lifier register my url therefore the search totally effective. Im battling copying an identical method in the solution within this post for any query string for example below.

lovelakedistrict.com/result/?q=Brookfield+Mattress+%2526+Breakfast

I would like it to end up like so

lovelakedistrict.com/result/?q=Brookfield+Mattress+&lifier+Breakfast

It is because would be that the url using the %2526 is indexed in the search engines and it is clearly damaged.

As aularon stated, it ought to be Bed+%26+Breakfast, as & is really a query string parameter separator. (You will find should you stick to the second link you're really trying to find “Brookfield Mattress ”.)

<form id="form" action="/result" method="get">

Produces a correct query like:

http://www.lovelakedistrict.com/result?q=Brookfield+Bed+%26+Breakfast

However, since /result is really a folder, the net server redirects that question to /result/, and for whatever reason changes the query string simultaneously, double-encoding it to %2526.

I'm not sure why it will that, it isn't normal Apache behaviour—have you have some dodgy rewrite rules maybe?—but you need to have the ability to cure it by pointing the shape in the proper URL:

<form id="form" action="/result/" method="get">
RewriteCond %{QUERY_STRING} (.*?)%(25)+26(.*?%(25)+26.*)
RewriteRule ^ %{REQUEST_URI}?%1+%3 [N]
RewriteCond %{QUERY_STRING} (.*?)%(25)+26(.*)
RewriteRule ^ %{REQUEST_URI}?%1+%3 [L,R=301]

(replicated in the link you published altering 20s into 26s)