by blhack · 15y ago · 0 comments
Something like this would work in .htaccess
RewriteRule ^t/item/4372/$ /static/4372.html
It's saying "Hey, apache, if you see somebody asking you for website.tld/t/item/4372/, send them to website.tld/static/4372.html instead"
A blog post I wrote got about 100k hits in a day a few weeks ago, and using mod_rewrite in this fashion, I was able to keep the site running for the entire day.
No comments yet.