Page Rule Wildcard Challenge

Researched on here, and haven’t found a solution. Here’s my page rule wildcard challenge. Trying to Forward old blog to new blog whereas:

(Old) Forward URL = https://mydomain.com/article-tite/

(New) Destination URL = https://mydomain.com/blog/anynumber/article-title/

Note: I’m stuck trying to find a way to skip or encompass the anynumber segment of the URL. The new blog inserts sequential numbers in that segment ranging from 1 to 1000 (for example).

Please help – thanks in advance!

That can’t be handled at Cloudflare’s end because Cloudflare has no way of knowing what anynumber will be.

Alternatively is there a way to encompass any broken backlink to root domain using wildcard?

I think you need a way to keep track the URLs and store it in a database.

Yeah that doesn’t really make sense in regards to my question. I’m trying to learn if it’s possible to write a catch-all page rule that will capture any broken 404 backlinks and then forward to https://mydomain.com

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