You can use this code to Code Injection > Header
<script> if (window.location.pathname === '/store') { window.location.href = '/store/category'; } </script>
Replace url in the code