What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello.. Can anyone help me please ... I need to redirect from plugin in to 404 page . If some logic

U024HCR39J7
U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet
edited July 2021 in Help

Hello.. Can anyone help me please ...
I need to redirect from plugin in to 404 page . If some logic work in Category page..
How I can do that ?

Comments

  • Alberto Reyer
    Alberto Reyer Lead Spryker Solution Architect / Technical Director Posts: 690 🪐 - Explorer

    As the routing is based on symfony, did you tried to throw a

    Symfony\Component\HttpKernel\Exception\HttpNotFoundException
    

    ?

    That’s not a clean solution, but to find a better one I would need a little more context. What type of plugin, what is the context in which it runs, Zed/Glue/Yves?

  • U024HCR39J7
    U024HCR39J7 Posts: 49 🧑🏻‍🚀 - Cadet

    At now I set aside this task .. Thanks to try help