{"id":2920,"date":"2013-10-24T17:38:09","date_gmt":"2013-10-24T17:38:09","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/10\/24\/correct-image-links\/"},"modified":"2023-06-21T11:07:40","modified_gmt":"2023-06-21T15:07:40","slug":"correct-image-links","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/","title":{"rendered":"Fixing Image Links After a WordPress Migration"},"content":{"rendered":"<p>As we continue our tutorial series on <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/easily-move-wordpress-site-to-new-server\/\">migrating your <strong>WordPress<\/strong> site<\/a> to InMotion Hosting, the next thing we want to cover is how to update the URLs for images within your pages and posts. They are coded differently so simply <a href=\"\/support\/edu\/wordpress\/wordpress-changing-the-site-url-and-home-settings\/\">changing the site URL<\/a> will not fix this. In this tutorial we show you how to <strong>fix image links<\/strong> by using your phpMyAdmin tool.<\/p>\n<div class=\"alert alert-warning\" role=\"alert\"><b>IMPORTANT!<\/b> This step is not mandatory. It is only necessary if your domain name is changing during the migration.<\/div>\n<div class=\"alert alert-info\" role=\"alert\">A couple of benefits of being an InMotion <a href=\"https:\/\/www.inmotionhosting.com\/wordpress-hosting\">WordPress Hosting<\/a> customer is that we can migrate over your existing website or easily get you set up with a site that has WordPress already installed.<\/div>\n<h2>How to Fix Your Image Links After a WordPress Migration<\/h2>\n<ol class=\"article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into your cPanel interface<\/a>.<\/li>\n<li>Once inside the cPanel, find the <em>Databases<\/em> category and click on the <strong>phpMyAdmin<\/strong> tool icon.<br>\n<img decoding=\"async\" width=\"898\" height=\"447\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png\" class=\"optimized-lcp-image\" alt=\"select phpmyadmin tool\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png 898w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl-300x149.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl-768x382.png 768w\"><\/li>\n<li>You are now on the main phpMyAdmin page. Find the newly added database and click on its name from the left-hand sidebar. Our sample database is named <code>testdb<\/code>.<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"421\" class=\"wp-image-12615\" style=\"display: block; max-width: 600px; margin-bottom: 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_2-select-database.png\" alt=\"select new database\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_2-select-database.png 1190w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_2-select-database-300x106.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_2-select-database-768x272.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_2-select-database-1024x362.png 1024w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<li>This opens the database and the screen refreshes with a list of the tables. Using the sidebar again, find and click on the <code>wp-posts<\/code> table.<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"1195\" height=\"460\" class=\"wp-image-12616\" style=\"display: block; max-width: 600px; margin-bottom: 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_3-select-wp-posts.png\" alt=\"select database table\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_3-select-wp-posts.png 1195w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_3-select-wp-posts-300x115.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_3-select-wp-posts-768x296.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_3-select-wp-posts-1024x394.png 1024w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<li>Look to the top of the screen and you will see several tabs that run across the page. Click on the <strong>SQL<\/strong> tab.<br>\n<img loading=\"lazy\" decoding=\"async\" width=\"818\" height=\"37\" class=\"wp-image-12617\" style=\"display: block; max-width: 600px; margin-bottom: 15px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_4-click-sql.png\" alt=\"click the SQL button\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_4-click-sql.png 818w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_4-click-sql-300x14.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_4-click-sql-768x35.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/li>\n<li>You are now on a MySQL editor screen. In the code area, copy the following bit of MySQL.\n<pre>UPDATE wp_posts SET post_content=(REPLACE (post_content, '',''));<\/pre>\n<p>Be sure to replace with the old sitename and with the new site name. For instance, our original site was <em>inmotiontesting.com<\/em> and the new test site will be at <em>test.inmotiontesting.com<\/em> so the code should appear as below:<\/p>\n<pre>UPDATE wp_posts SET post_content=(REPLACE (post_content, 'inmotiontesting.com','test.inmotiontesting.com'));<\/pre>\n<p>Click on the <strong>Go<\/strong> button to run the code and change the URLs for all images in the posts. This will also affect any other \u2018hard coded\u2019 links that were in the posts that pointed to the original site.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1235\" height=\"497\" class=\"wp-image-12618\" style=\"display: block; max-width: 600px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_5-enter-sql-statement.png\" alt=\"enter the SQL code and run it\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_5-enter-sql-statement.png 1235w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_5-enter-sql-statement-300x121.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_5-enter-sql-statement-768x309.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_5-enter-sql-statement-1024x412.png 1024w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/p><\/li>\n<\/ol>\n<p>Below are before and after shots of the changes made. Note that the image paths are displayed in the lower left hand corners of the images. You can see how they switched to the new sitename after the SQL code ran.<\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Before<\/th>\n<th>After<\/th>\n<\/tr>\n<tr>\n<td><img loading=\"lazy\" decoding=\"async\" width=\"805\" height=\"506\" class=\"wp-image-12619\" style=\"max-width: 350px;\" title=\"Click here to view the larger image\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_before.png\" alt=\"before the link change\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_before.png 805w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_before-300x189.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_before-768x483.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/td>\n<td><img loading=\"lazy\" decoding=\"async\" width=\"802\" height=\"515\" class=\"wp-image-12620\" style=\"max-width: 350px;\" title=\"Click here to view the larger image\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_after.png\" alt=\"after the link change\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_after.png 802w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_after-300x193.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_after-768x493.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>As we continue our tutorial series on migrating your WordPress site to InMotion Hosting, the next thing we want to cover is how to update the URLs for images within your pages and posts. They are coded differently so simply changing the site URL will not fix this. In this tutorial we show you how<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4325,56],"tags":[],"class_list":["post-2920","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","category-wordpress"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Fix Image Links after WordPress Migration | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"Image links still pointing to the old site after a migration? Learn how to fix that in this article.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix Image Links after WordPress Migration | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Image links still pointing to the old site after a migration? Learn how to fix that in this article.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2013-10-24T17:38:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-21T15:07:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Scott Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"Fixing Image Links After a WordPress Migration\",\"datePublished\":\"2013-10-24T17:38:09+00:00\",\"dateModified\":\"2023-06-21T15:07:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\"},\"wordCount\":368,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png\",\"articleSection\":[\"WordPress Hosting\",\"WordPress Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\",\"name\":\"How to Fix Image Links after WordPress Migration | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png\",\"datePublished\":\"2013-10-24T17:38:09+00:00\",\"dateModified\":\"2023-06-21T15:07:40+00:00\",\"description\":\"Image links still pointing to the old site after a migration? Learn how to fix that in this article.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png\",\"width\":898,\"height\":447,\"caption\":\"Click here to view the larger image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fixing Image Links After a WordPress Migration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Fix Image Links after WordPress Migration | InMotion Hosting","description":"Image links still pointing to the old site after a migration? Learn how to fix that in this article.","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:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/","og_locale":"en_US","og_type":"article","og_title":"How to Fix Image Links after WordPress Migration | InMotion Hosting","og_description":"Image links still pointing to the old site after a migration? Learn how to fix that in this article.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2013-10-24T17:38:09+00:00","article_modified_time":"2023-06-21T15:07:40+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png","type":"","width":"","height":""}],"author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"Fixing Image Links After a WordPress Migration","datePublished":"2013-10-24T17:38:09+00:00","dateModified":"2023-06-21T15:07:40+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/"},"wordCount":368,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png","articleSection":["WordPress Hosting","WordPress Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/","name":"How to Fix Image Links after WordPress Migration | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png","datePublished":"2013-10-24T17:38:09+00:00","dateModified":"2023-06-21T15:07:40+00:00","description":"Image links still pointing to the old site after a migration? Learn how to fix that in this article.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/10\/edu_wordpress_202_correct-image-links_phpmyadmin-pl.png","width":898,"height":447,"caption":"Click here to view the larger image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/wordpress\/correct-image-links\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Fixing Image Links After a WordPress Migration"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=2920"}],"version-history":[{"count":10,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2920\/revisions"}],"predecessor-version":[{"id":105304,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/2920\/revisions\/105304"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=2920"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=2920"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=2920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}