Conditional string comparison failing for basename/slug

The 2nd part of the condition seems wrong

basename( get_permalink() != 'sponsor-one') should be basename( get_permalink() ) != 'sponsor-one'

Please check where the parenthesis ends. Also in your code if that is the only condition, then you can have an else statement instead of having another elseif.

File not found.