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.... 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 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... 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... Link to comment https://forums.phpfreaks.com/topic/243116-page-not-found/#findComment-1248702 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.