WordPress stores two addresses inside the database. These determine where your blog files are, and where the main index is. On a normal install, these addresses are the same. There are two occasions where you will need to access the database to alter one or both of these settings:
- If you have tried to alter the Blog URL or WordPress URL in Options and an error has occurred.
- If you have moved to a domain/subdomain with a different name.