check to make sure permalinks are enabled