thanks for the info, is this definately a proxy solution not a redirect?
I have read elsewhere on the forum that this is only possible with an enterprise plan.
You just need a Pro plan to do it with a Snippet as in that example. Enterprise plans do have other options for this, which is probably what you read about.
are you able to help me modify this script for my requirments, as I have no experience with the workers scripting language.
I want to proxy all requests from mysite.co.uk/blog to mysite.com
or at least mysite.com/blog, whichever is easier.
Including any querystrings, form submissions etc.
The request is returning a redirect, which fetch doesn’t follow. In your snippet, change the target URL to the final URL, which has the www on the front of it.