Deleting netbeans folder and adding an .htaccess file.