Make posts 410 dynamically

Just did some testing and seems there is a bug here. Newly created draft posts are not accessible on front-end. Search bot (or anyone else not logged in and using special preview URL) gets 404 error on them. But if you publish and change back to draft then post remains available by direct link (does … Read more

URL redirect problem

I’m not seeing this behavior in my test install, using the page hierarchy you have described. http://img.skitch.com/20101028-kmdmrb11pyb5h281m9r8j74993.jpg I can access both the top-level accommodation page and the child page. Do you happen to have the Redirection plugin installed?

Front end user creation form! How do you keep the user on the same page in event of error?

Hook into registration_errors (The WP Codex is woefully incomplete on this, but see links below). Sorry this isn’t more helpful — the issue is a little more complex than it seems at the outset. I’ll look into it more later. Links: http://adambrown.info/p/wp_hooks/hook/registration_errors http://core.trac.wordpress.org/ticket/10672 http://codex.wordpress.org/Plugin_API/Filter_Reference/registration_errors and http://codex.wordpress.org/Plugin_API/Action_Reference/register_post

WordPress Auto-Redirecting on 404

WordPress doesn’t automatically suggest pages when a 404 occurs. Many themes have a 404.php template file that can effect what happens when an incorrect URL is entered. Maybe your theme has a 404 page. If you don’t want it to interfere, you could try deleting the 404.php. REVISION: OK, I understand your request now. The … Read more