Cancel button not work in production server (v2023)

Hi,
I have 2 server’s
Test and Production.On test server, cancel button work’s perfect.
But when i upload project to production server, clicking Cancel button redirect me to main page on server.

Did you create two projects for both development and production version?

It’s one project
I just copy files from dev to prod

If the base path of the production site (e.g. “/”) different from the development site (e.g. “/eurlopy/”), make sure you have updated the RewriteBase directive in .htaccess, read URL Rewrite → Apache. (Assume you use Apache.)