{"id":818,"date":"2024-05-07T11:43:52","date_gmt":"2024-05-07T11:43:52","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/does-shortpixel-change-the-urls-of-my-images\/"},"modified":"2025-08-27T08:42:31","modified_gmt":"2025-08-27T08:42:31","password":"","slug":"does-shortpixel-change-the-urls-of-my-images","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/does-shortpixel-change-the-urls-of-my-images\/","title":{"rendered":"Does ShortPixel change the URLs of my images?"},"content":{"rendered":"\n<p>No, <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-image-optimiser\/\" target=\"_blank\" rel=\"noopener\">ShortPixel Image Optimizer<\/a> only optimizes the images on your site, it doesn&#8217;t change the URLs.<\/p>\n\n\n\n<p>What it can do, though, is to change the <em>markup<\/em> of your page source code, but only if you choose the &#8220;Using the &lt;PICTURE> tag syntax&#8221; option (located on Settings > ShortPixel > WebP\/AVIF &amp; CDN). That option makes the plugin offer additional URLs for the WebP images so that they can be used by <a href=\"https:\/\/caniuse.com\/webp\" target=\"_blank\" rel=\"noreferrer noopener\">WebP-aware browsers<\/a>, but <strong>that doesn&#8217;t mean the URLs of your current images will be changed.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"699\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808-1024x699.jpg\" alt=\"\" class=\"wp-image-1583\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808-1024x699.jpg 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808-300x205.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808-768x524.jpg 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808-1536x1048.jpg 1536w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808-360x246.jpg 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250114_101808.jpg 1587w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>No, ShortPixel Image Optimizer only optimizes the images on your site, it doesn&#8217;t change the URLs. What it can do, though, is to change the markup of your page source code, but only if you choose the &#8220;Using the &lt;PICTURE> tag syntax&#8221; option (located on Settings > ShortPixel > WebP\/AVIF &amp; CDN). That option makes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[37],"glossaries":[],"doc_tag":[],"class_list":["post-818","docs","type-docs","status-publish","hentry","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":86,"total_views":"2342","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 Image Optimizer","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-image-optimizer\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/818","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=818"}],"version-history":[{"count":1,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/818\/revisions"}],"predecessor-version":[{"id":1584,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/818\/revisions\/1584"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=818"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=818"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=818"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}