Blog Sections Open

Why AjaxSearch Works Only While You Are Logged Into the Manager

If AjaxSearch works only for authenticated managers, the issue is usually routing or access context, not the search logic itself.

An AjaxSearch request that works while a manager is logged in but fails for normal visitors usually points to an access or bootstrap mismatch. The search endpoint may be reaching manager-aware context indirectly, or it may depend on a path that resolves differently for guests.

What to check

  • connector or snippet endpoint paths
  • whether the request is routed through the public site correctly
  • permissions or protected resources involved in the search scope
  • forwarding rules that behave differently for non-manager sessions

Recommendation

Always test search endpoints as a logged-out visitor. If the search only works from the manager session, the transport layer is wrong even if the snippet itself is fine.

Newer post

Refreshing Friendly URLs After Applying Translit Aliases

After generating aliases with Translit, existing resources may still need to be re-saved or rebuilt before the new friendly URLs start resolving correctly.

Older post

Fixing AjaxSubmit Compatibility with jQuery 1.9

If AjaxSubmit stops working after a jQuery upgrade, inspect removed APIs and legacy event assumptions before blaming the form snippet itself.