Jump to content

Recommended Posts

Posted

Does anyone have an explanation for this?

 

I use a php file (index.php) for the index of my site, and I've been trying to set up a custom 404 page. What I find, however (and I've seen this before too) is that when I go to a page that does not exist, it seems to just show my index page instead. To see this, go to http://www.mildlyhotpeppers.com/. And now go to http://www.mildlyhotpeppers.com/whateveryouwanthere. It still shows my index page. Then go to http://www.mildlyhotpeppers.com/madeupfolder/anything/. It still shows my index page. (In the last two, the index page gets destroyed, however, because the relative image and stylesheet links are not correct.)

 

Does anyone have an idea why this happens?

Posted
Does anyone have an explanation for this?

 

I use a php file (index.php) for the index of my site, and I've been trying to set up a custom 404 page. What I find, however (and I've seen this before too) is that when I go to a page that does not exist, it seems to just show my index page instead. To see this, go to http://www.mildlyhotpeppers.com/. And now go to http://www.mildlyhotpeppers.com/whateveryouwanthere. It still shows my index page. Then go to http://www.mildlyhotpeppers.com/madeupfolder/anything/. It still shows my index page. (In the last two, the index page gets destroyed, however, because the relative image and stylesheet links are not correct.)

 

Does anyone have an idea why this happens?

 

I know that the 404 error page has some effect on the index page, so try deleting the 404 file and just stick with the standard one for now.

Posted
=/ tried that...didn't work. thanks for the reply though.

 

Hmm... my only best recommendation is that to push ahead, because a bad URL redirecting to your index page isn't a bad idea you understand? Try like, making a blank index page for people that... oh forget it. Too complicated.

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...