Please help me diagnose and fix this Page Rule problem

Hey there!

I’m trying to redirect this URL (and anything after the slash):

https://www.example.com/products/test-course-1/

To this URL:

https://www.example.com/products/test-course-2/

Here is the Rule I’m using:

https://www.example.com/products/test-course-1/*

Forwarding URL / 301 Permanent

https://www.example.com/products/test-course-2/$1

The redirect works, but it’s adding “www.” at the end of the URL, like this:

https://www.example.com/products/test-course-2/www.

There are no other Rules that could be causing this as I’ve tested with any other Rules turned off as well.

How do fix this?

Thanks!

That’s a good mystery. I’m unable to reproduce that behavior.

Give Trace a try. It should show you any rules that match that request.

2 Likes

Thanks for the suggestion!

The “Trace” didn’t show anything strange.

Ok. In that case, we’ll need an actual URL to test.