Skip to main content
edited tags
Link
Denis
  • 96
  • 5
Source Link
Denis
  • 96
  • 5

Is it possible to change admin Actions URL (not only the URI)

When Craft is in headlessMode my URLS for admin actions (ex. /admin/set-password) are set to the frontend URL (SITE_URL) instead of the Admin URL (SITE_ADMIN_URL).

Is this behavior as expected?

As my Frontend is using angular I would need to add a redirect on the NGINX server to get the links to work which is kind of a strange workaround. Shouldn't the Action urls use the Admin URL by default instead?

Current behavior:

www.example.com/admin/set-password

Expected behavior:

cms.example.com/admin/set-password