Redirect not Functioning Properly

Problem

Redirect rules added in the dashboard are not functioning as expected.

Debugging Steps

To investigate the issue and the reason, follow the steps below:

Single Site Single Language

  1. In the Dashboard navigate to Dev Studio > API Explorer.
  2. Enter the search term into query for which the redirect should return.
  3. Select Run Query.
  4. In the right hand side panel - scroll down and look for the term keywordRedirect.
    a. If this term is visible, Discovery is returning the redirect instruction. Check with your technical team.
    b. If keywordRedirect is not visible, check the keyword redirect rule in the dashboard to ensure the following:
  • It is set for the correct term
  • It is currently active
  • If a date range has been applied, that the current date is within that date range
  1. Contact Bloomreach Support for further assistance.

Multi Site Multi Language

  1. Install recommended chrome extensions for troubleshooting. Refer to the Chrome Extension section below.
  2. Go to your website and in the chrome Pixel Validator Extension, look for the account id, domain_key and view_id .
  3. Select one of the API calls as below depending on if you see a view_id or not in the pixel validator, and paste it into your browser.
  1. Using a URL editor, replace the values in the API call of account_id, domain_key and view_id with the values from your site.
  2. Replace the search term with the search query used for testing.
  3. Click Go on the editor.
  4. Look for keywordRedirect in the results from Bloomreach.
    a. If this term is visible, Discovery is returning the redirect instruction. Check with your technical team.
    b. If keywordRedirect is not visible, check the keyword redirect rule in the dashboard to ensure the following:
  • It is set for the correct term
  • It is currently active
  • If a date range has been applied, that the current date is within that date range

You can also follow the below steps to debug the issue:

  1. In the Dashboard, navigate to Search and Merchandising > Site Search > Redirects
  2. Check if the correct keyword redirect rule is enabled.
    As observed in the below image, two redirect rules are created, one at the global level and another at the site level, check for the enabled redirect rule.
16001600

Contact Bloomreach Support for further assistance.

To resolve or diagnose issues, it is recommended to work with the API directly, without interference to see how Bloomreach is processing and returning data directly. This is often most helpful in case of Multi Site Multi Language merchants.

📘

Note

Bloomreach does not produce, nor contribute to these extensions. There are many on the Chrome store that offers similar functionality.

  • URL Editor Pro: This extension makes it easy for non technical users to manage API calls easily from their browser as part of debugging.

  • JSON Formatter: This extension formats the Bloomreach response to be easily readable in your browser window.

Related Resources

Bloomreach Discovery Product Documentation

👍

Did this article help you?

Please provide your feedback. We would like to know if our help center is effective in solving your queries. You can also leave comments and suggestions on how we can make our help articles better. You can also suggest topics you’d like us to cover.