joemama718 Posted September 19, 2007 Posted September 19, 2007 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? Quote
karath Posted September 21, 2007 Posted September 21, 2007 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. Quote
joemama718 Posted September 21, 2007 Author Posted September 21, 2007 =/ tried that...didn't work. thanks for the reply though. Quote
karath Posted September 22, 2007 Posted September 22, 2007 =/ 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. Quote
jayant Posted October 14, 2007 Posted October 14, 2007 i dont understand what u want to say???? please explain.. Quote
joemama718 Posted October 14, 2007 Author Posted October 14, 2007 it's alright i figured it out. thread closed. (well i would if i could, just don't reply to this unless you want to look like an idiot.) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.