Reduce number of redirects from short.domain/shortlink to long.domain/longlink

What is the name of the domain?

What is the error message?

Multiple Redirections

What is the issue you’re encountering

short url takes multiple redirections to get to long url

What steps have you taken to resolve the issue?

Looked at it

What feature, service or problem is this related to?

I don’t know

What are the steps to reproduce the issue?

I have a WP website and use a plugin to do redirects to emulate short URL like the bit.ly functionality.
I have it set up and it works, but to get from short.domain/shortlink to long.domain/longlink takes 2 hops, can I improve on this?
The first redirect is from short.domain to long.domain
The second redirect is from long.domain/shortlink to long.domain/longlink

Can I “map” the short.domain to the long.domain within Cloudflare to avoid the first redirect?

Screenshot of the error

Hello,

If your path redirects follow a compatible pattern, you may be able to change your current initial redirect to use dynamic redirects. The link below will take you directly to that part of the Cloudflare developer documentation. Let us know if you have further questions about using these.