# PHP suddenly stopped working?

**URL:** <https://forum.kirupa.com/t/php-suddenly-stopped-working/253714>\
**Category:** programming\
**Created:** [March 4, 2008, 12:40pm UTC](https://forum.kirupa.com/t/php-suddenly-stopped-working/253714 "2008-03-04T12:40:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leafy](https://avatars.discourse-cdn.com/v4/letter/l/a9a28c/32.png) [@leafy](https://forum.kirupa.com/u/leafy)\
**Post date:** [March 4, 2008, 12:40pm UTC](https://forum.kirupa.com/t/php-suddenly-stopped-working/253714/1 "2008-03-04T12:40:19Z")

</div>

the coding that i’ve had for php incudes has worked for many many months on my site. suddenly, a few weeks ago, it stopped working. what i mean is that when i click the links on the menu, they just take me to the main page instead of the correct page.

the other pages aren’t missing - the problem isn’t that when a page is missing, php will tell the site to return to the main page.

the only way to get the other pages to show up is if i change the last “else” part to that page name.

I did not mess around with the code before that, anyone have any ideas whats going on?

thanks!!!
