Yes, you can edit the URL back to what it was earlier using the wp-config file as mentioned in above posts. And you will be good to go!