I've been developing a website on wordpress for some time now and came across some issues but until now I could figure it out, not today... Yesterday I've worked some more on the website and today when I came back to do some more work the pages on my site that are part of my navigation menu didn't load properly (minus the home page that is static and a news page that is the index page), they were loading the index.php page. Also with my posts in the news(index) page the load the index page instead of the post content. The URLs appear correct, but the loaded page is the index one. This doesn´t happen with the other pages I have that are not in the navigation menu and also with some custom post types, everything works fine there. The strange thing is that it happened from nothing, maybe is a quick fix... or not, I'm not an expert.

2 Answers
2

I figured it out, after trying a million things I tried one more, super stupid but it worked, I just went to permalink settings, clicked save changes and my posts and pages are working again... I don't understand why but finally it's working again.