add needed code to htaccess file