Codrspace / codrspace

The blogging platform for coders.
http://codrspace.com
Other
35 stars 13 forks source link

Redirect requests to users homepage in case of missing post #32

Closed durden closed 12 years ago

durden commented 12 years ago

Maybe we should handle missing post links in a more friendly manner. For example, if someone tries to link to codrspace.com// and doesn't exist we should redirect to codrspace.com// with a small bit of text at the top that says the post couldn't be found.

This is nice because it will drop the user with a broken link to something they can find useful and browse while also letting them know what they requested doesn't exist.

On a related note, maybe we could do something like this with 404s in general. Maybe our 404 page should be some text about how something couldn't be found, but then follow that up with a selection of links like 'try reading this instead.'

glenbot commented 12 years ago

I think the 404 is important because Google treats it that way. If we redirect, google will consider it a valid link when it is not. I do agree that we should spruce up the 404 page a little with more helpful info.

durden commented 12 years ago

Good point. Ok, I'll spruce up the 404 page and just make it show the most recent 3 posts or something.

glenbot commented 12 years ago

Closing. Need to make another issue to spruce up 404.