jasonc Posted January 24, 2008 Share Posted January 24, 2008 I have read somewhere a long time ago that you can change the file names of the error pages using .htaccess. can not remember where so asking here as i do not know what part of this site to ask it. thanks Quote Link to comment https://forums.phpfreaks.com/topic/87509-change-file-name-of-error-pages-via-htaccess/ Share on other sites More sharing options...
PC Nerd Posted January 24, 2008 Share Posted January 24, 2008 do you mean change it from 404.html from myerror.php?id=404 or something liek that?? the easiest way to customise error pages is a host that lets you write you own in teh www root. then you simply design your owh 404.html page. Quote Link to comment https://forums.phpfreaks.com/topic/87509-change-file-name-of-error-pages-via-htaccess/#findComment-447627 Share on other sites More sharing options...
ziv Posted January 24, 2008 Share Posted January 24, 2008 you can override your apache configuration (you can find the reference at http://apache.org) here an example of the configuration on apache 2: ErrorDocument 400 /path/to/your/404/error/document.html Quote Link to comment https://forums.phpfreaks.com/topic/87509-change-file-name-of-error-pages-via-htaccess/#findComment-447650 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.