Closed (fixed)
Project:
Pathauto
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2008 at 04:50 UTC
Updated:
1 Jan 2012 at 20:12 UTC
Hello,
I am new to drupal and I'm learning the ropes. I have a naive question. Let's say a user visits a path that DOESN'T exist (ie: http://www.mysite.com/gallery/image-galleries/britney_spears), is there a pathauto way to say "this user is trying to visit a path that doesn't exist, let me redirect him to a page where he can add an image gallery".
Is this possible within pathauto?
Comments
Comment #1
drewish commentedpathauto doesn't really do that... sounds like you're looking for some kind of a 404 handler.
Comment #2
gregglesThat's not something Pathauto can do. I suggest you look at the custom error module - http://drupal.org/project/customerror for a way to achieve what you want.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #4
paulkent_uk commentedI can't get 404 errors either when trying to visit a page that has NEVER existed. If a page HAS existed before, sometime in the past but now DELETED, then 404 errors DO show up. What appears to happen when you try to visit a non-existent page is Drupal attempts to build a page or just shows the root page of that particular section but with no 'Page not found' error - e.g. mydomain.com/real-page/page-never-existed. I have installed the Custom Error module and this does not solve the issue.
Comment #5
greggles@paulkent_biz - the problem you describe is unrelated to this issue. I guess creating a post in the help forum.