Tag Archives: 404 Php

Apache ?? 404 ??

hoe can one have every 404 error redirect to a certain URL (not a file in the identical directory as this referral) aid WHat would you like to do Redirect whenever a 404 error takes place yeh Work with ErrorDocument and placed some redirect program code on that page! hmmm, i’ll try that, i believe i know what exactly u mean this is what i have regarding my error handle: Code: # # 1) ordinary text ErrorDocument 500 " Error 700 – The node made a boo boo. # n. b. the individual leading (" ) marks it as wording, it does certainly not get output # # 2) local redirects ErrorDocument 404 urlhttp: //LOCALHOST/404. php/url # to redirect to regional URL /missing. html page #ErrorDocument 404 /cgi-bin/missing_handler. pl # N. B.: You can redirect to a script or your document using server-side-includes. # # 3) external redirects ErrorDocument 402 " Error 402 – Messed ” up “, sorry # N. B.: Many of the actual environment variables of this particular original # request will certainly *not* be designed for such a script. is there anything wrong for it cos when i visit an invalid LINK it gives this error … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , | Leave a comment

Custom 404 using .htaccess not working – can anyone help?

Hello there everyone basically i followed a quick custom 404 course that told me to include in my htaccess file after which make a. php page such as the rest of my own. php site websites for my customized 404 page, along with save it seeing that notfound. php It worked for a while, but not any more and I dont learn why.. This is it within a new snippet from my own htaccess: Code: RewriteEngine at RewriteCond %HTTP_HOST sanyachinatravel\. com NC RewriteCond %HTTP_HOST! www\. sanyachinatravel\. com NC RewriteRule (. *) http: //www. sanyachinatravel\. com/$1 L, R=301 BErrorDocument 404 /notfound. php/B refocus 301 /general_links/about-us. php URLhttp: //www. sanyachinatravel. com/about/index. php/URL refocus 301 /general_links/customer_care. php URLhttp: //www. sanyachinatravel. com/about/index. php/URL refocus 301 /general_links/about-us. php URL=" http: //www. sanyachinatravel. com/about-us/index. php" Tailor Made Holiday seasons to China as well as Far East/URL (… and many others etc) I’ve uploaded the file to the current thread. The custom 404 is found at: Tailor Made Holiday seasons to China as well as Far East Might anyone help my family with why this doesnt work I originally posted this about this forum thread these so I thought it is helpful to article the link: Personalized … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment