New 24/7 monitoring and daily cloud backups now included in every Shield Pro plan.

Help Centre

BugShield Knowledge Base

Guides, walkthroughs, and answers for getting the most out of your account.

Change a WordPress URL

Updated 2 July 2026

WordPress stores site URLs in the database and in Settings > General. Changing domains requires updating both places consistently.

This article explains how to change WordPress URLs safely across settings, database values, and redirects.

Steps

  1. Back up files and database.
  2. Update siteurl and home in the database or via wp-config constants.
  3. Run a search-replace for old URLs in post content and metadata.
  4. Set up 301 redirects from the old domain.