If after changing site address and WordPress url address you get locked out of the WordPress login then all you need to do is:
- Go to phpMyAdmin
- Select your Database
- Search for Table wpgg_options
- Select and click the wpgg_options table
- Row under “option_name” column marked with a) siteurl b) home needs to be update with original url.
- Click edit and update the url
- Click Go to save.
- Repeat for home row as well.