I may be jumping to a conclusion without seeing your code first.
But I believe this may simply be because the way have your permalinks setup.
If you go to your dashboard
then settings->permalinks
and change the option to anything other than Plain
.