How one can change MyBB installation path / URL?

I needed to move from forum.domain.tld to domain.tld/forum

First i advice to backup the whole hosting account before any changes. Then this was needed to change MyBB forum location/path:

Go to admin area, Configuration / Site Details and change paths there, do not forget to change cookie domain variable on that page.

Probably redundant step: edit /inc/settings.php find old paths and replace by new

Move files to a new location/path.