{"id":3984,"date":"2026-07-23T09:38:32","date_gmt":"2026-07-23T09:38:32","guid":{"rendered":"https:\/\/disoh.com\/support\/how-to-change-your-wordpress-site-url-domain\/"},"modified":"2026-07-23T09:38:32","modified_gmt":"2026-07-23T09:38:32","password":"","slug":"how-to-change-your-wordpress-site-url-domain","status":"publish","type":"docs","link":"https:\/\/disoh.com\/fi\/support\/how-to-change-your-wordpress-site-url-domain\/","title":{"rendered":"How to Change Your WordPress Site URL (Domain)"},"content":{"rendered":"<p>If you are moving to a new domain, switching to HTTPS, or moving out of a subfolder, you need to update your WordPress site URL. Doing it correctly avoids broken links and login problems. This guide explains the safe way.<\/p>\n<h2>The two URL settings<\/h2>\n<p>WordPress stores two addresses under <strong>Settings &gt; General<\/strong>:<\/p>\n<ul>\n<li><strong>WordPress Address (URL):<\/strong> where WordPress core files live.<\/li>\n<li><strong>Site Address (URL):<\/strong> the address visitors use.<\/li>\n<\/ul>\n<p>For most sites these are the same. Update both to your new domain, including https, and save.<\/p>\n<h2>Do not forget the database<\/h2>\n<p>Changing those two settings is not enough on its own, because old URLs remain scattered through your content, in links and image paths. After changing the domain you should run a search-and-replace across the database to update every old URL to the new one. A dedicated plugin makes this safe and simple.<\/p>\n<h2>Step-by-step for a domain change<\/h2>\n<ol>\n<li>Point the new domain to your site and enable SSL.<\/li>\n<li>Update both URLs under Settings &gt; General.<\/li>\n<li>Run a search-and-replace for the old domain to the new one.<\/li>\n<li>Set up redirects from the old domain if it stays registered.<\/li>\n<li>Clear all caches and test.<\/li>\n<\/ol>\n<h2>If you get locked out<\/h2>\n<p>Setting the URLs wrong can lock you out of the dashboard. If that happens, you can correct the values in wp-config.php or via the database in phpMyAdmin.<\/p>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Broken images or links:<\/strong> run the search-and-replace for old URLs.<\/li>\n<li><strong>Redirect loop or lockout:<\/strong> fix the URLs in wp-config.php.<\/li>\n<li><strong>Mixed content warnings:<\/strong> ensure everything uses https.<\/li>\n<\/ul>\n<h2>Need help?<\/h2>\n<p>Changing a site URL has a few moving parts. Our support team can help you do it cleanly over live chat.<\/p>","protected":false},"excerpt":{"rendered":"<p>If you are moving to a new domain, switching to HTTPS, or moving out of a subfolder, you need to update your WordPress site URL. Doing it correctly avoids broken links and login problems. This guide explains the safe way. The two URL settings WordPress stores two addresses under Settings &gt; General: WordPress Address (URL): [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[32],"doc_tag":[],"class_list":["post-3984","docs","type-docs","status-publish","hentry","doc_category-wordpress"],"year_month":"2026-07","word_count":274,"total_views":"14","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/fi\/author\/jorn\/"},"doc_category_info":[{"term_name":"WordPress","term_url":"https:\/\/disoh.com\/fi\/docs-category\/wordpress\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Change Your WordPress Site URL (Domain) &#8211; Disoh<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/disoh.com\/fi\/support\/how-to-change-your-wordpress-site-url-domain\/\" \/>\n<meta property=\"og:locale\" content=\"fi_FI\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Change Your WordPress Site URL (Domain) &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"If you are moving to a new domain, switching to HTTPS, or moving out of a subfolder, you need to update your WordPress site URL. Doing it correctly avoids broken links and login problems. This guide explains the safe way. The two URL settings WordPress stores two addresses under Settings &gt; General: WordPress Address (URL): [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/fi\/support\/how-to-change-your-wordpress-site-url-domain\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Arvioitu lukuaika\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuutti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-to-change-your-wordpress-site-url-domain\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-to-change-your-wordpress-site-url-domain\\\/\",\"name\":\"How to Change Your WordPress Site URL (Domain) &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\"},\"datePublished\":\"2026-07-23T09:38:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-to-change-your-wordpress-site-url-domain\\\/#breadcrumb\"},\"inLanguage\":\"fi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/support\\\/how-to-change-your-wordpress-site-url-domain\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-to-change-your-wordpress-site-url-domain\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Change Your WordPress Site URL (Domain)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fi\",\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Change Your WordPress Site URL (Domain) &#8211; Disoh","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/disoh.com\/fi\/support\/how-to-change-your-wordpress-site-url-domain\/","og_locale":"fi_FI","og_type":"article","og_title":"How to Change Your WordPress Site URL (Domain) &#8211; Disoh","og_description":"If you are moving to a new domain, switching to HTTPS, or moving out of a subfolder, you need to update your WordPress site URL. Doing it correctly avoids broken links and login problems. This guide explains the safe way. The two URL settings WordPress stores two addresses under Settings &gt; General: WordPress Address (URL): [&hellip;]","og_url":"https:\/\/disoh.com\/fi\/support\/how-to-change-your-wordpress-site-url-domain\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Arvioitu lukuaika":"1 minuutti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/support\/how-to-change-your-wordpress-site-url-domain\/","url":"https:\/\/disoh.com\/support\/how-to-change-your-wordpress-site-url-domain\/","name":"How to Change Your WordPress Site URL (Domain) &#8211; Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/#website"},"datePublished":"2026-07-23T09:38:32+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/support\/how-to-change-your-wordpress-site-url-domain\/#breadcrumb"},"inLanguage":"fi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/support\/how-to-change-your-wordpress-site-url-domain\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/support\/how-to-change-your-wordpress-site-url-domain\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How to Change Your WordPress Site URL (Domain)"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/#website","url":"https:\/\/disoh.com\/","name":"Disoh","description":"Digitaalisten ratkaisujen is\u00e4nn\u00f6inti","publisher":{"@id":"https:\/\/disoh.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fi"},{"@type":"Organization","@id":"https:\/\/disoh.com\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/","logo":{"@type":"ImageObject","inLanguage":"fi","@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/docs\/3984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/comments?post=3984"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/docs\/3984\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/media?parent=3984"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/doc_category?post=3984"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/doc_tag?post=3984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}