after moving page to root

i changed the config to root:

define( 'RL_ROOT', ' .....

from subdomain to www. (goes to root)

define( 'RL_URL_HOME', '.....

now i tried to delete a listing and as we know the "are you sure" questions pops up. but after 2 - 3 seconds doing nothing page reloads to .../undefined and that gives a 404 of course.

please assist thank you