Would it be possible to setup a default redirect and when the number of "page not found's" surpass your set amount, then that default redirect will be assigned to that "page not found" url?

I ask because I am receiving several thousand entries a day. These are mostly search engines, but it does make it hard to find the legit reports.

Just wanted to throw the idea out there and get your thoughts.

Comments

BrockBoland’s picture

Status: Active » Closed (works as designed)

I've been mulling this over, and I don't think this module is the right place for this functionality.

I like the idea, but I think it needs more options than just a default - it would be too easy for a URL that should be pointing to content to wind up pointing to this default page. I think it would be better to make it conditional, so certain paths (for example) could redirect to different pages.

This functionality should be built into a different module, perhaps integrating with Rules.

bryancasler’s picture

Title: Auto-create redirects » Automatically create a redirect after a certain amount of 404's occur for a given page
Project: Page Not Found Reports » Rules
Component: Code » Provided Rules integration

Thanks for the feedback BrockBoland. I've moved this feature request over to the rules module issue que.

mitchell’s picture

Component: Provided Rules integration » Rules Core

Updated component.

BrockBoland’s picture

Status: Closed (works as designed) » Active

Probably want to re-open this if it's to be considered for inclusion in Rules.

mitchell’s picture

Status: Active » Postponed (maintainer needs more info)

Can Rules detect if a requested page isn't found?

tr’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (won't fix)

No, Rules isn't the right way to do this. Custom code could do this, or perhaps there's another module available that could help you.