URL hacking to easily transform production to local

See #1232