"to not X" where X is a verb is called a split infinitive. The rule is that no word should ever come between the "to" and the following verb in the infinitive form. We should probably add that in modern English the rule seems to modified to include "whenever possible", because there are many situations where the intervening adverb can't be logically put anywhere else!
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.