|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Hi friends i have a doubt about the erroro page redirecting i have seen that when i typed a page which is not there suppose www.yahoo.com/sms it goes to the yahoo page and showing that the page you have requested is not found iam also want to dolike that by typing www.indianworld.in/somepage and if the address is not there it will go to some particular erro page that i have designed how to make this plz any one help me in this. Thank you.
|
|
|||
|
if you are running apache.. create a file called .htaccess (You can create it in /indiantalk)
In the file add the line: ErrorDocument 404 /indiantalk/YourErrorPage.html Where "YourErrorPage.html" is the name of your custom error page.. By putting it in /indiantalk you can match the style of your forums.. should you create other sections of the site.. You can have other error docs match those sections..
__________________
Hardcore Programming Solutions and Coffee Drinker |
|
|||
|
by putting the error page in http_public, it will server as the error page for the entire site.
__________________
Hardcore Programming Solutions and Coffee Drinker |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |