{"id":6197846,"date":"2015-06-04T12:46:50","date_gmt":"2015-06-04T12:46:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp_template_uri-debug\/"},"modified":"2016-08-30T14:06:13","modified_gmt":"2016-08-30T14:06:13","slug":"wp_template_uri-debug","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp_template_uri-debug\/","title":{"rendered":"wp_template_uri debug"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I&#8217;m having trouble with one website I was working on.<br \/>\nIt was developed on a subdomain, like: <strong>subdomain.mydomain.com<\/strong>, and then it&#8217;s transferred to <strong>livedomain.com<\/strong><\/p>\n<p>Problem is that get_stylesheet_directory_uri() function, and all other similar functions are returning <strong>subdomain.mydomain.com<\/strong> as result.<\/p>\n<p>I have changed, site_url \/ blog_url, but I&#8217;m struggling to find out how this function is determinating url.<br \/>\nI have tried to search trough core files but not much luck.<br \/>\nAlso, I have checked PHP\/$_SERVER details, they are all showing correct domain.<\/p>\n<p>Any help would be useful.<\/p>\n","protected":false},"template":"","class_list":["post-6197846","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6197846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6197846\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6197846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}