zehrila Posted June 11, 2011 Share Posted June 11, 2011 Can anyone help me with creating custom 404 pages? whenever i delete unwanted content from my site, it leaves garbage behind which gives status 200 ok response or give soft 404 like content error in Google Webmaster Tools. Quote Link to comment https://forums.phpfreaks.com/topic/239082-how-to-create-404-pages/ Share on other sites More sharing options...
freelance84 Posted June 11, 2011 Share Posted June 11, 2011 You can redirect with .htaccess: ErrorDocument 404 http://www.mysite.com/404error.html Quote Link to comment https://forums.phpfreaks.com/topic/239082-how-to-create-404-pages/#findComment-1228386 Share on other sites More sharing options...
zehrila Posted June 11, 2011 Author Share Posted June 11, 2011 Issue is, i think, my script doesn't delete pages rightly, which probably leaves a lot of garbage behind, or i dont have full understanding. Quote Link to comment https://forums.phpfreaks.com/topic/239082-how-to-create-404-pages/#findComment-1228388 Share on other sites More sharing options...
freelance84 Posted June 11, 2011 Share Posted June 11, 2011 Sorry, i'm not entirely sure what you want... Quote Link to comment https://forums.phpfreaks.com/topic/239082-how-to-create-404-pages/#findComment-1228390 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.