Replace slash with MODX_BASE_URL