title: Mozilla firefox add-on to redirect url from one domain name to another domain without changing the complete url
body: <p>I want to know is there any add-on to redirect url in mozilla firefox. In Google Chrome there is an add-on <code>Switcheroo</code>. I need the url switcher like this in mozilla firefox. I have already tried with redirect url add-on of mozilla. But its not redirecting correctly.</p>
  
  <p><strong>Requirements:</strong></p>
  
  <p>I need to test the localhost portal pages. But in few places the dev environment url is hard coded. I want to redirect those urls to localhost to test the changes which I made in local.</p>
  
  <p>Eg redirection:</p>
  
  <p><code>protocol://dev_hostname:dev_portnubmer/wps/portal/abcd/xyz/u!/abcd</code></p>
  
  <p>should be redirected to </p>
  
  <p><code>protocol://localhost:localhostPortnumber/wps/portal/abcd/xyz/u!/abcd</code></p>
  
  <p>For this redirection in google chrome switcheroo add-on I have configured like this:-<a href="http://dev_hostname:dev_portnubmer" rel="noreferrer">http://dev_hostname:dev_portnubmer</a> ---> <a href="http://localhost:localhostPortnumber" rel="noreferrer">http://localhost:localhostPortnumber</a>. The add-on changing the protocol, domain name, port number. It's not changing the rest of the url part. Its working well as I expected. But in Mozilla I need an add-on like this.</p>