How to configure merchant portal base url?

altaf-husain
altaf-husain Posts: 9 🧑🏻‍🚀 - Cadet
edited September 2023 in Spryker Development

I am encountering a 404 error when attempting to access the merchant portal's base URL

like https://mp.de.b2b-marketplace.demo-spryker.com/

Can you tell me how to redirect the page to security-merchant-portal-gui/login (when the merchant is not logged in) and dashboard-merchant-portal-gui/dashboard (if the merchant is already logged in)?

Tagged:

Comments

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 ⚖️ - Guardians (admin)

    Heyhey,

    you mean like changing the behavior to automatically redirect?

    All the best,

    Florian

  • altaf-husain
    altaf-husain Posts: 9 🧑🏻‍🚀 - Cadet

    Yes,

    As of now, if someone hits the URL mp.de.spryker.local, it redirects to a page not found page.
    I am in search of a solution that is similar to back office. If we hit the backoffice.de.spryker.local, it served the correct content instead of the page not found (404).

  • fsmeier
    fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,051 ⚖️ - Guardians (admin)

    There is sadly no ootb-solution yet. I see a ticket in the backlog for that. So may contact your Partner Success Manager to try to push that topic.

    All the best,

    Florian

  • altaf-husain
    altaf-husain Posts: 9 🧑🏻‍🚀 - Cadet

    Thanks @fsmeier for the update