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?
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.
joemama718 Posted September 21, 2007 Author Posted September 21, 2007 =/ tried that...didn't work. thanks for the reply though.
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.
jayant Posted October 14, 2007 Posted October 14, 2007 i dont understand what u want to say???? please explain..
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.)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now