TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Awesome .htaccess Trick for Redirecting All Traffic When Working on a Site

1 pointsby Modernnomad84almost 15 years ago

1 comment

spokeyalmost 15 years ago
I had high hopes on reading the title, but as noted in TFA, this only really works if none of your users ever bookmark a page or follow a link from Google or another website.<p>He's using a very limited definition of "all traffic", namely "all traffic to the homepage or a 404 page".