{"id":2576,"date":"2021-10-04T05:13:32","date_gmt":"2021-10-04T05:13:32","guid":{"rendered":"https:\/\/ownwebservers.com\/kb\/?p=2576"},"modified":"2021-10-04T05:13:47","modified_gmt":"2021-10-04T05:13:47","slug":"2576","status":"publish","type":"post","link":"https:\/\/ownwebservers.com\/kb\/2576\/","title":{"rendered":"How to Configure WordPress to Use a Temporary URL"},"content":{"rendered":"<p>If migrating or transferring your WordPress web site from one host to a different, you should guarantee everything is so as before you modify your domain\u2019s nameservers. as an example, if leaving your current host and your web site has been migrated to Ownwebservers, you&#8217;ll view your web site using a temporary URL in order to double-check that everything is absolutely a similar \u2014 then make the changes to your domain nameservers.<\/p>\n<p>In this article you will understand how to configure and access WordPress using a temporary URL.<\/p>\n<p>Where to Find a Temporary URL?<\/p>\n<p>In your hosting account information email (the one you got after you signed up for your hosting account), you&#8217;ll be able to simply find the temporary URL that you can use to access your web site.<\/p>\n<blockquote><p>http:\/\/IPADDRESS\/~yourusername<\/p><\/blockquote>\n<p>So, If your web hosting provider give you IP as 1.234.56.789 and username as \u201cmyname\u201d, then your tempory URL would be something like this: http:\/\/1.234.56.789\/~myname<\/p>\n<h2>How to Configure WordPress to Use Temporary URL?<\/h2>\n<p>Since WordPress adds your domain name to its database, it&#8217;ll not automatically work with the other URL unless you create manual changes to its configuration.<\/p>\n<p>Once your web site has been with success transferred (or WordPress has been successfully installed with the help of Softaculous), login to your cPanel account and open File Manager.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2577\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-1-300x200.png\" alt=\"url-1\" width=\"977\" height=\"650\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-1-300x200.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-1-768x511.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-1.png 977w\" sizes=\"auto, (max-width: 977px) 100vw, 977px\" \/><\/p>\n<p>Therein, within the root folder of WordPress, find the wp-config.php file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2579\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/uel-3-300x154.png\" alt=\"url2\" width=\"1308\" height=\"671\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/uel-3-300x154.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/uel-3-1024x525.png 1024w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/uel-3-768x394.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/uel-3.png 1308w\" sizes=\"auto, (max-width: 1308px) 100vw, 1308px\" \/><\/p>\n<p>Right click on it and choose Code Edit. Within the wp-config.php file, find the lines that specify WP_HOME and WP_SITEURL \u2014 if the lines don&#8217;t seem to be there, you may have to be compelled to add new ones. Either amendment the address to your temporary one in existing lines, or add new lines of code to correspond this (wherein the IPADDRESS is that the IP mentioned in your hosting account information email and also the username is your cPanel username):<\/p>\n<pre>define('WP_HOME','http:\/\/IPADDRESS\/~username');\r\ndefine('WP_SITEURL','http:\/\/IPADDRESS\/~username');<\/pre>\n<p>From the top right corner Save your changes by clicking the button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2578\" src=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-2-300x207.png\" alt=\"url-3\" width=\"938\" height=\"646\" srcset=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-2-300x207.png 300w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-2-768x529.png 768w, https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-2.png 938w\" sizes=\"auto, (max-width: 938px) 100vw, 938px\" \/><\/p>\n<p>That is all, your web site will currently be viewed using the temporary URL . Once you&#8217;ve got ensured that your web site is the want you wish it to be, you&#8217;ll amendment the wp-config.php file to reflect your actual domain name, and point your domain\u2019s nameservers to Ownwebservers.<\/p>\n<p>If the steps in this article above listed do not resolve your issues, please feel free to contact us or open a support ticket and we\u2019d be happy to take a look.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If migrating or transferring your WordPress web site from one host to a different, you should guarantee everything is so as before you modify your domain\u2019s nameservers. as an example, if leaving your current host and your web site has been migrated to Ownwebservers, you&#8217;ll view your web site using a temporary URL in order [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2576","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Configure WordPress to Use a Temporary URL - OWS KB<\/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:\/\/ownwebservers.com\/kb\/2576\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure WordPress to Use a Temporary URL - OWS KB\" \/>\n<meta property=\"og:description\" content=\"If migrating or transferring your WordPress web site from one host to a different, you should guarantee everything is so as before you modify your domain\u2019s nameservers. as an example, if leaving your current host and your web site has been migrated to Ownwebservers, you&#8217;ll view your web site using a temporary URL in order [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ownwebservers.com\/kb\/2576\/\" \/>\n<meta property=\"og:site_name\" content=\"OWS KB\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-04T05:13:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-04T05:13:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-1-300x200.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"OWS KB\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/ownwebservers.com\/kb\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/2576\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/ownwebservers.com\/kb\/wp-content\/uploads\/2021\/10\/url-1.png\",\"width\":977,\"height\":650,\"caption\":\"url-1\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/2576\/#webpage\",\"url\":\"https:\/\/ownwebservers.com\/kb\/2576\/\",\"name\":\"How to Configure WordPress to Use a Temporary URL - OWS KB\",\"isPartOf\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/2576\/#primaryimage\"},\"datePublished\":\"2021-10-04T05:13:32+00:00\",\"dateModified\":\"2021-10-04T05:13:47+00:00\",\"author\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\"},\"breadcrumb\":{\"@id\":\"https:\/\/ownwebservers.com\/kb\/2576\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ownwebservers.com\/kb\/2576\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/2576\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/2576\/\",\"url\":\"https:\/\/ownwebservers.com\/kb\/2576\/\",\"name\":\"How to Configure WordPress to Use a Temporary URL\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#\/schema\/person\/4a40fe3fe17a08ddd1d7c113668e75f2\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/ownwebservers.com\/kb\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ba5db5841d48bd7517bb2583e13983e6d2fa56a4099a0b3c61ad2daefc321303?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/ownwebservers.com\/kb\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/comments?post=2576"}],"version-history":[{"count":2,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2576\/revisions"}],"predecessor-version":[{"id":2581,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/posts\/2576\/revisions\/2581"}],"wp:attachment":[{"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/media?parent=2576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/categories?post=2576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ownwebservers.com\/kb\/wp-json\/wp\/v2\/tags?post=2576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}