If the url in the conditional includes an "http://" then it causes the conditional to not work as expected due to the colon being a part of the conditional statement.  If you remove the "http://" it should be able to review the code without issues.