WordPress FAQ

How to Change Your WordPress Domain URL

Changing a WordPress domain requires updating site settings, moving files, and performing a database search-and-replace to ensure all links function. high confidence based on 8 community reports

Based on 8 community reports.

Linked sources: 8.

Known Issues

Community Q&A

How do I change my WordPress site URL?

Navigate to Settings > General in your dashboard and update the WordPress Address and Site Address fields.

Why are my images broken after changing my domain?

Images often retain hardcoded paths to the old domain; use a plugin like Better Search Replace to update these paths in your database.

What should I do if I get locked out after changing my URL?

You can fix this by editing your wp-config.php file to define the site URL or by correcting the values directly in your database via phpMyAdmin.

Reddit Sources