Update .htaccess and plugin code