| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Expert | hey what do i put in the 401-405 error pages ( for wrong page, unauthorised, server down...etc ) for it to return to my main home page? what codes should should i use to redirect to another domain? thanks
__________________ |www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts FREE VB Skins |
| |
| | #2 (permalink) |
| Senior Member | I think you can do the redirections from cPanel, go to "error pages", click on the one you want to edit and copy/paste a redirection script in there (you can find one at hotscripts.com) If not, you could try creating custom error pages and using "Redirects in cpanel to redirect it to another URL Hope this helps |
| |
| | #4 (permalink) |
| Senior Member | ErrorDocument 404 http://www.yourdomain.ext You can add that for each error code in your .htaccess file. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |