The Search 404 Module essentially creates urls, from misdirected/missing urls.

Because of this I am noticing a problem with my blocks that appear on Search 404 generated pages. I use the "All pages except those listed" option when displaying certain blocks, e.g. search block. However, because I cannot account for missing/fabricated urls that are generated blocks I do not want to appear on the page show up anyway.

The possible solution I see is to either switch all of my blocks to a "Only the listed pages" option, or create some sort of Search 404 directory in the url

Example:
User Inputs : example.com/unknown-page
Search 404 returns: example.com/search404/unknown-page

This would allow me to account for and exclude Search 404 generated pages by adding "search404/*" to my exclusions list.

If there is some other way of doing this, please let me know.

CommentFileSizeAuthor
search404_blocks.png20.56 KBthejamesjones
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zyxware’s picture

@thejamesjones - The search404 module uses search engines offered other modules and hence redirects to a URL with the prefix of the corresponding search module. So you can use url patterns with the name of the search module as is configured on your site.

zyxware’s picture

Assigned: Unassigned » zyxware
Status: Active » Fixed

Automatically closed -- issue fixed for 2 weeks with no activity.