Hmm. Try specifying permalink style.