Hello Magento Community! I currently check customers for their Browser / Operating System to see if it is compatible with our website. (Ex Windows XP is no longer supported by Microsoft or many main web browsers)

How can I make it so that when people first come to my website I perform the check then redirect them to an error page, or possibly a customizable view with error messages? Is it possible to do without creating custom blocks or controllers?

1 Answer 1


If you are using apache then you could consider setting up a rewrite with the condition checking HTTP_USER_AGENT. This will allow you to redirect different users to different pages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.