roots hacks for better htaccess redirection