When incoming requests match
- Wildcard pattern
- Request URL:
https://<YOUR_HOSTNAME>/news/2012/*
- Request URL:
Then rewrite the path and/or query
- Target path: [
/
]news/2012/*
- Rewrite to: [
/
]archive/news/2012/${1}
Create a URL rewrite rule (part of Transform Rules) to rewrite any requests for /news/2012/...
URI paths to /archive/news/2012/...
.
To rewrite all requests to /news/2012/...
to /archive/news/2012/...
you must add a reference to the content of the original URL. Create a new URL rewrite rule and define a dynamic URL path rewrite using wildcard pattern parameters:
When incoming requests match
https://<YOUR_HOSTNAME>/news/2012/*
Then rewrite the path and/or query
/
] news/2012/*
/
] archive/news/2012/${1}
Make sure to replace <YOUR_HOSTNAME>
with your actual hostname and adjust the example paths according to your setup.
Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.
Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.
TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.