See qa_q_request() in qa-base.php which builds the strings used to make question URLs. All the question URL really needs is the number. You might also have an issue with tags or usernames but this will be harder to fix since the correct URL is required to find the page.