Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Redirect root domain of custom short URLs using bit.ly pro in .htaccess file
RewriteEngine on
RewriteRule ^/?$ http://511contracosta.org [L]
RewriteRule ^(.*)$ http://bit.ly/$1 [R=301,NC]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.