Rewrite/Redirect Rule

I have a client that needs to have a redirect.

So they need anything with this URL and after to redirect.
www.abc.com/web/ect/ —> www.abc.com/ect/

So basically drop the /web and anything after /web/ect/ will need to redirect to anything after /ect/

Would this work?

www.abc.com/web/ect/*

Forward URL = 301 Redirect

https://www.abc.com/ect/$1

I can’t test right now because it doesn’t exist and would like to have this done before they go live in a few days.

Should work, I usually use this to redirect from both HTTP and HTTPS directly…

*www.example.com/web/ect/*https://www.example.com/ect/$2

Note that page rules will be deprecated at some point in the future so you should look to implement using redirect rules later.

Ok. Thanks. Yeah, I was just going to set it up as a page rule and not just a redirect.

1 Like

Oh I just noticed what you said about page rules.I didn’t know that would be happening

So I guess this would be the best way

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.