Hi. I have read all the posts, and done all the things suggested, but with no resolution. I changed the php file using the new code you provided in prior threads, added the WP "no category" plug in (although I know it has no impact), I have flushed the permalink several times, rewrite page, changed the permalinks back to default, then tried again, emptied my cache, tried on different browsers...still getting 404 error. URGENT, please help.
By the way, when I change the permalinks back to default, all the pages get the page_id's, but the portfolio get's the actual page name