Title: wp_template_uri debug
Last modified: August 30, 2016

---

# wp_template_uri debug

 *  [Bobz](https://wordpress.org/support/users/bobz/)
 * (@bobz)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/wp_template_uri-debug/)
 * Hi there,
 * I’m having trouble with one website I was working on.
    It was developed on a 
   subdomain, like: **subdomain.mydomain.com**, and then it’s transferred to **livedomain.
   com**
 * Problem is that get_stylesheet_directory_uri() function, and all other similar
   functions are returning **subdomain.mydomain.com** as result.
 * I have changed, site_url / blog_url, but I’m struggling to find out how this 
   function is determinating url.
    I have tried to search trough core files but 
   not much luck. Also, I have checked PHP/$_SERVER details, they are all showing
   correct domain.
 * Any help would be useful.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Phil](https://wordpress.org/support/users/websterwebguru/)
 * (@websterwebguru)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/wp_template_uri-debug/#post-6198004)
 * Have you change the site url in the dashboard under settings -> general?
 *  Thread Starter [Bobz](https://wordpress.org/support/users/bobz/)
 * (@bobz)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/wp_template_uri-debug/#post-6198008)
 * yeah, sure, as mentioned above: ‘I have changed, site_url / blog_url, but I’m
   struggling to find out how this function is determinating url.’
 *  [Phil](https://wordpress.org/support/users/websterwebguru/)
 * (@websterwebguru)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/wp_template_uri-debug/#post-6198016)
 * Don’t know if you read this , but this should help
    [https://codex.wordpress.org/Moving_WordPress](https://codex.wordpress.org/Moving_WordPress)
 *  Thread Starter [Bobz](https://wordpress.org/support/users/bobz/)
 * (@bobz)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/wp_template_uri-debug/#post-6198019)
 * Thanks, I did read that.
    I think it is some kind of DNS issue, but i’m not sure.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp_template_uri debug’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [Bobz](https://wordpress.org/support/users/bobz/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/wp_template_uri-debug/#post-6198019)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
