pranshu82202 Posted July 28, 2011 Share Posted July 28, 2011 I have hosted all my files (html php and images) to a web hosting server (xtremehost)... When i enter any random url http://mysite.com/dvhinf it redirects me to the page of extremehost error page http://error.xtreemhost.com/404.shtml Instead i want to redirect all to my error page... How shuld i do that.... Quote Link to comment https://forums.phpfreaks.com/topic/243116-page-not-found/ Share on other sites More sharing options...
Psycho Posted July 28, 2011 Share Posted July 28, 2011 Use an .httaccess file. Here is a tutorial: http://www.totallyphp.co.uk/tutorials/custom_error_pages_using_htaccess.htm Quote Link to comment https://forums.phpfreaks.com/topic/243116-page-not-found/#findComment-1248693 Share on other sites More sharing options...
pranshu82202 Posted July 28, 2011 Author Share Posted July 28, 2011 Dude i edit the .htaccess file and when i tried to upload it it my filezilla says Error.... What shuld i do... Quote Link to comment https://forums.phpfreaks.com/topic/243116-page-not-found/#findComment-1248695 Share on other sites More sharing options...
pranshu82202 Posted July 28, 2011 Author Share Posted July 28, 2011 Thanx man i have done it... Quote Link to comment https://forums.phpfreaks.com/topic/243116-page-not-found/#findComment-1248702 Share on other sites More sharing options...
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.