Welcome to Librarium Online!
Characters should be placed in the Front Rank of a Unit, unless you're playing Skaven with the "Lead from Behind" rule
I don't think characters must be put into the front rank. You could hide them in the middle of a rank n file unit.
However I know the rulebook specifically states that characters cannot take any action (cast spells, grant leadership bonuses, or fight even with a spear) when not in the front rank.