I am trying to 301 redirect a page from a subdomain to a page on my main domain by using a forwarding uRL page rule and it is not working. I need this page - https://info.medcerts.com/ask-a-career-coach
to redirect to this page https://medcerts.com/start/ask-a-career-coach
but the redirect simply does not happen
Can you show a screenshot of the redirect/page rule?
Looks ok. Do you have any other page rules that may trigger before this one?
There are a bunch of page rules - but none dealing with this subdomain
One thing to note is that the info.medcerts.com
CNAME record was not proxied until an hour or so ago. Maybe it takes time for the proxy to kick in?
Just check none of the preceeding page rules can match in any way, only the first page rule hit is executed for any request. Move this redirect to the top of the list if you want to be sure (as it’s the only rule for that subdomain).
The proxy change would have happened quite quickly, and for me the IP address is for Cloudflare so it should be in place.
Try putting the request through the trace to see if it can show anything as it passes through the rules…
https://dash.cloudflare.com/?to=/:account/trace
I moved it to the top and unfortunately it still does not work
I’m not sure what you mean by:
Try putting the request through the trace to see if it can show anything as it passes through the rules…
https://dash.cloudflare.com/?to=/:account/trace
Thank you so much for helping me on this - I really appreciate it!
Click that link, it will take you to a tool in the dashboard called “Trace” (its in the menu on your account page) where you can enter the URL to see what happens to it as it passes through Cloudflare’s pipeline. If there is a reason why this redirect is not being triggered, you should be able to see it.
GOt it - unfortunately when running https://info.medcerts.com/ask-a-career-coach
and setting HTTP method to GET I get this error
That’s odd. Perhaps try again later.
One last thing. I don’t think it’s a problem in your case from what you’ve said, but to be thorough…
Can you check the nameservers at the bottom of your DNS here…
https://dash.cloudflare.com/?to=/:account/:zone/dns
They should be andy
and gene
.
Yeah I have andy and gene
I’m out of ideas at the moment. See if the trace works later.
Maybe delete the page rule and create it again.
Got it - thanks so much for your help!
Looking at the domain info.medcerts.com
there is a custom hostname certificate for this.
You can read more on this expected behavior here:
@dmartin1 Do you have any insight into what I would need to do to set up redirects given that it has a custom hostname certificate?
I am trying to 301 redirect a page from a subdomain to a page on my main domain by using a forwarding URL page rule and it is not working.
This domain has a custom hostname certificate and I suspect that is causing the issue. Does anyone have any insight as to how I can redirect from a subdomain with a custom hostname certificate to my main domain?
I need this page - https://info.medcerts.com/ask-a-career-coach
to redirect to this page https://medcerts.com/start/ask-a-career-coach
but the redirect simply does not happen.
Thanks!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.