Better htaccess implementation