brkrtp adlı üyeden alıntı

Normal:
swal({ title: "Are you sure?", text: "You will not be able to recover this imaginary file!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, delete it!", cancelButtonText: "No, cancel plx!", closeOnConfirm: false, closeOnCancel: false }, function(isConfirm){ if (isConfirm) { swal("Deleted!", "Your imaginary file has been deleted.", "success"); } else { swal("Cancelled", "Your imaginary file is safe :)", "error"); } });

İstediğiniz hali;
swal({ title: "Are you sure?", text: "You will not be able to recover this imaginary file!", type: "warning", showCancelButton: true, confirmButtonColor: "#DD6B55", confirmButtonText: "Yes, delete it!", cancelButtonText: "No, cancel plx!", closeOnConfirm: false, closeOnCancel: false }, function(isConfirm){ if (isConfirm) { swal("Deleted!", "Your imaginary file has been deleted.", "success"); window.location="http://www.siteadresi.com"; } else { swal("Cancelled", "Your imaginary file is safe :)", "error");
} });

window.location="http://www.siteadresi.com";
Kaynak: http://t4t5.github.io/sweetalert/

Kısaca:
swal("Deleted!", "Your imaginary file has been deleted.", "success");
Yazısından sonra: window.location="http://www.siteadresi.com"; yazacaksınız yani
swal("Deleted!", "Your imaginary file has been deleted.", "success"); window.location="http://www.siteadresi.com";


olmadı hocam :D şaşırdım