So I've been playing with many themes lately and finally came back to my old one, and I'm in trouble.
I have (always had actually) a page called Portfolio. It's address is www.example.com/portfolio. I have a few different pages such as Contact at www.example.com/contact etc.
Now, the problem is, when I go to www.example.com/portfolio it displays a loop from my custom post type called portfolio but not the page itself. Even when I open the page using direct link from wp-admin, it still displays wrong content.
After I delete any page and I try to access it I get 404 page, but after I delete Portfolio there's still this loop under example.com/portfolio :O
I'm pretty sure /portfolio URL has been hardcoded somehow in my database by one of the previous themes (is it even possible?) and now points to something else. How to fix that?