Redirection with parameter in URL

Hello I am new To F5 irules.

I’m trying to redirect https://website1.com/number:1234 to https://website2.com/number:1234

such that whatever value of the number, it will be carried over after redirection.

Could you please help me with irule template here.

It will be like redirecting https://website1.com/number:5555 should go to https://website2.com/number:5555 and so on. Number will get change every time when user try to access URL.

Better pass the F5 trainning for HTTP before doing such things:

Then you can check this for how parametars look: