There is a stricture against the so-called "split infinitive", which dictates something like "I told you not to do so!" in your example. It's a silly rule, and no one pays much attention to it anymore. At the same time, students preparing for tests should be aware.