Title: wordpress documentroot
Last modified: August 20, 2016

---

# wordpress documentroot

 *  Resolved [quinox](https://wordpress.org/support/users/quinox/)
 * (@quinox)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wordpress-documentroot/)
 * Hi,
 * I have a WordPress site (vanschendel.com). This site is automatically linked 
   to /wordpress.
 * All WP files are placed in a sub-directory calles ‘wordpress’.
    So, if someone
   visit ‘vanschendel.com’ they are automatically linked to ‘vanschendel.com/wordpress’.
 * How can I get rid of ‘/wordpress’? If someone visit ‘vanschendel.com’,
    I don’t
   want to be directed to /wordpress, but do see the whole wordpress site in /wordpress.
 * many thanks in advanced.
 * Roland

Viewing 1 replies (of 1 total)

 *  Thread Starter [quinox](https://wordpress.org/support/users/quinox/)
 * (@quinox)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wordpress-documentroot/#post-3416758)
 * Solved by myself 😉
 * Copy index.php and .htaccess to DocumentRoot.
    Edit index.php and change the 
   line
 * (‘./wp-blog-header.php’);
    require(‘./wordpress/wp-blog-header.php’);
 * Change the Site-url in WordPress Dashboard.

Viewing 1 replies (of 1 total)

The topic ‘wordpress documentroot’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [quinox](https://wordpress.org/support/users/quinox/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/wordpress-documentroot/#post-3416758)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
