re-write

Help refactor this messed-up-nested-if of a method

Ok I want some opinions how I can fix this mess of a method! It has WAY to many nested 'if' statements. But realize I have to know exactly where the method fails, currently in each of the respective 'else' clause I am logging the error (the failed 'if' condition'). Note: ignore any logic behind the things, please focus on the style an...

Need help with wp_rewrite in a WordPress Plugin

Ok, I've got this code that I've been using to spit out news to an application of mine. It was working until today. I've cutout all the logic in the following code to make it simpiler. But it should "WORK" Can someone help me fix this code to where it works, and is done right? I know it's hacked together ,but it didn't seem to have ...

classic asp urls rewrite and redirect

I want to re-write my website urls. my website is in classic ASP. I hv ISAPI re-write on my hosting server. I want to rewrite and re-diredt my urls like follows. "http://www.mysite.com/fld1/pg1.asp" to "http://www.mysite.com/fld/fld-1/" can anyone tell me the rule for it. tyries many rule sbut not working. Looking forward to hearin...