{"id":930,"date":"2024-05-07T11:45:50","date_gmt":"2024-05-07T11:45:50","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/what-happens-if-i-move-a-website-using-spai-from-staging-to-production\/"},"modified":"2025-08-27T08:40:06","modified_gmt":"2025-08-27T08:40:06","password":"","slug":"what-happens-if-i-move-a-website-using-spai-from-staging-to-production","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/what-happens-if-i-move-a-website-using-spai-from-staging-to-production\/","title":{"rendered":"What happens if I move a website using SPAI from staging to production?"},"content":{"rendered":"\n<p>If you used <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-adaptive-images\/\" target=\"_blank\" rel=\"noopener\">ShortPixel Adaptive Images<\/a> (SPAI) on a staging website and then you plan on moving that website to production then you shouldn&#8217;t worry about the images, as SPAI should automatically change the URLs of the images and start serving them from the production website. If this doesn&#8217;t happen, then make sure you <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/how-to-clear-wordpress-cache\/\" data-type=\"docs\" data-id=\"1028\" rel=\"noopener\">flush whatever cache<\/a> you may have.<\/p>\n\n\n\n<p>There is <strong>1 important thing to remember<\/strong>, though: you should <strong style=\"background-color: initial;\">associate your production domain<\/strong> to your account too: <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/how-to-associate-a-domain-to-my-account\/\" data-type=\"docs\" data-id=\"695\" rel=\"noopener\">How can I associate a domain to my account?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you used ShortPixel Adaptive Images (SPAI) on a staging website and then you plan on moving that website to production then you shouldn&#8217;t worry about the images, as SPAI should automatically change the URLs of the images and start serving them from the production website. If this doesn&#8217;t happen, then make sure you flush [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[35],"glossaries":[],"doc_tag":[],"class_list":["post-930","docs","type-docs","status-publish","hentry","doc_category-shortpixel-adaptive-images"],"blocksy_meta":[],"year_month":"2026-05","word_count":86,"total_views":"1045","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin_mdli53m5","author_url":"https:\/\/kb.shortpixel.com\/author\/admin_mdli53m5\/"},"doc_category_info":[{"term_name":"ShortPixel Adaptive Images","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-adaptive-images\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/comments?post=930"}],"version-history":[{"count":2,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/930\/revisions"}],"predecessor-version":[{"id":2087,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/930\/revisions\/2087"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=930"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=930"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=930"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}