I’ve been using a worker script for quite some time to create shortened URLs that will redirect to other pages on my site. Today, I discovered that all of these shortened URLs are returning a 404 error. The strange part is that once I reach the 404 page, if I remove the www prefix from the shortened address, the redirect works just fine. This has never been the case before, and I’m stumped.
All of my actual website pages (for example, https://www.domain.com/blog) work just fine with or without the www prefix. It appears as though the worker script is not running for any addresses with the www prefix.