The easiest might be the first one... Just go to code view and copy/paste the code you have so it is repeated twice.
Then open the first one and remove the failed redirect.
Then open the second one and change the status comparison value.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.