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. 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 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. 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... 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
Archived
This topic is now archived and is closed to further replies.