Skip to content

Instantly share code, notes, and snippets.

@Zegnat
Last active April 5, 2017 00:34
This emulates https://github.com/lazd/mdn.io/ in a 2 line .htaccess file. Compatible with any Apache server with mod_alias enabled.
RedirectMatch 303 /(.+)$ https://duckduckgo.com/?q=!+site:developer.mozilla.org+$1
Redirect 303 / https://developer.mozilla.org/en-US/docs/JavaScript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment