Reply To: 301 Redirect using OCPsoft Rewrite

Splash Forums Rewrite Users 301 Redirect using OCPsoft Rewrite Reply To: 301 Redirect using OCPsoft Rewrite

#26848

eframsergio
Participant

Thank you! I appreciate your help and the sample rule.

I had to place it on top of the other rules and just remove the forward dash in the redirect (i.e. “http://www.new-domain.com/{path}” to “http://www.new-domain.com{path}”).

Just one last question, is “{path}” a reserved keyword or variable? It seemed like you placed it there as a placeholder so that I could fill in the actual path, but since I wanted everything in the old path to forward to the new domain name, it didn’t make much sense when I first looked at it, but the fact that it works perfectly tells me this is a reserved keyword or automatic variable.

Best regards!
sb