This rule will create an infinitely loop of redirects:
/* https://rejaurrahman.co.uk/:splat
This is because the rule exists on this the site with this subdomain. It is being redirected back to itself.
So, if you put this rule on this paypal-comparison-table.netlify.app
, then this URL:
https://paypal-comparison-table.netlify.app/projects/paypal-comparison-solutions/
would then be redirected to this URL:
https://rejaurrahman.co.uk/projects/paypal-comparison-solutions/
However, this rule is on this site (rejaurrahman.co.uk
) not a different site. So this rule redirects this URL:
https://rejaurrahman.co.uk/projects/paypal-comparison-solutions/
to this UR:
https://rejaurrahman.co.uk/projects/paypal-comparison-solutions/
They are the same URL. This is an infinite redirect.
Would you please give real world examples of a starting URL and what URL that starting URL should redirect to? For example:
This starting URL:
https://paypal-comparison-table.netlify.app/
Should redirect to this URL:
https://rejaurrahman.co.uk/projects/paypal-comparison-solutions/
Note, this redirect above is already working. It is just that there is also a rule at the rejaurrahman.co.uk
site which then creates an infinite loop.
Finally, there is the issue that there is no page at /projects/paypal-comparison-solutions/
on the rejaurrahman.co.uk
site. Even if the infinite loop wasn’t happening, there will still be a 404 not found after the 301 redirect. I’d expect the redirect to target a URL which isn’t a 404.
Are you trying to display a third site at the https://rejaurrahman.co.uk/projects/paypal-comparison-solutions/
URL? If so, what third site should be shown there?