Title: WP Root Directory
Last modified: August 19, 2016

---

# WP Root Directory

 *  [dmcdonald](https://wordpress.org/support/users/dmcdonald/)
 * (@dmcdonald)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/)
 * Is there a function which will tell me the root directory of the wordpress install,
   from the clients perspective?
 * For example, [http://mysite.com/](http://mysite.com/) or [http://mysite.com/wordpress](http://mysite.com/wordpress)
 * Thanks,
 * Darren

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-668941)
 * [Template_Tags/bloginfo](http://codex.wordpress.org/Template_Tags/bloginfo)
 *  Thread Starter [dmcdonald](https://wordpress.org/support/users/dmcdonald/)
 * (@dmcdonald)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-668944)
 * bloginfo(‘url’); works a treat, thanks moshu.
 *  Thread Starter [dmcdonald](https://wordpress.org/support/users/dmcdonald/)
 * (@dmcdonald)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-668948)
 * Is there a similar one for the internal directory?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-668981)
 * Define “internal directory”…
 *  Thread Starter [dmcdonald](https://wordpress.org/support/users/dmcdonald/)
 * (@dmcdonald)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-669088)
 * Well, an example might be /var/www/html/wordpress/
 * Im talking about the path to which you would find wp-config.php
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-669107)
 * OK, that’s path (or server path).
 * But in this way we willl never get to the end. Stop asking technical things… 
   Describe in details WHAT do you want to achieve (the end-result) and we will 
   tell you the HOW.
    It works faster!

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

The topic ‘WP Root Directory’ is closed to new replies.

 * 6 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/wp-root-directory/#post-669107)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
