Internal Links Broken Using Reverse Proxy Worker of Subdomain to Subdirectory

Hi there!

I have an English main website at *example.com* and a localized German website at *de.example.com*.

I successfully deployed a Cloudflare worker to fetch the content from the subdomain and to show it at a subdirectory, so *de.example.com* gets shown on *example.com/de*. I followed this guide for it: [Guide](https://coda.io/@matt-varughese/guide-how-to-reverse-proxy-with-cloudflare-workers)

The problem with this is now, that all internal page links shown on *example.com/de* do not have the important /de subdirectory included.

For example, the navigation bar on *example.com/de* has a link to *example.com/blog*, but this should be *example.com/de/blog*.

How can I achieve this?

Thanks for any help! :pray:

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