So that I'm crystal clear on how point 2 will work please could you describe in words how the if else will work. Site is live so need to be sure I understand what will happen before adding the new code.
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.