I’m a real newbie with workers and i’m trying to solve this.
I have a blog : blog[dot]mydomain[dot]com
And i want to be only reachaable to mydomain[dot]com/blog
What i did
I followed https://blog.cloudflare.com/subdomains-vs-subdirectories-improved-seo-part-2/ (at least i think i did)
Updated with the following worker code : https://cloudflareworkers.com/#16c75b5b96d041abbeceb7ba5ed3d41f:https://tutorial.cloudflareworkers.com
I went on mydomain[dot]com, worker, added a route to mydomain[dot]com/blog and selected the previously created worker.
But so far doesn’t really worked
mydomain[dot]com/blog load the targeted page bust most element are not
If i go on a post mydomain[dot]com/blog/post1 this doesn’t work
and blog[dot]mydomain[dot]com is till accessible.
What i am doing wrong ( i guess a lot)
Any helped is welcommed