Title: include( $_SERVER[&#039;DOCUMENT_ROOT&#039;]. doenst work
Last modified: August 19, 2016

---

# include( $_SERVER['DOCUMENT_ROOT']. doenst work

 *  [Vledder](https://wordpress.org/support/users/ravledder/)
 * (@ravledder)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/include-_serverdocument_root-doenst-work/)
 * Hello,
 * im trying to get my pre-generated webshop to work. In this pre generated webshop
   site it says i have to use 2 kind of codes, the first i have to include the code
   where i want to show the shop:
 * `<?include( $_SERVER['DOCUMENT_ROOT'].'/argeweb/webshop/index.php')?>`
 * And the webshop says litarelly: “Before the headers are sent paste the following
   code:”
 *     ```
       <?
       include( $_SERVER['DOCUMENT_ROOT'].'/argeweb/webshop/shopstart.php' );
       ob_start();
       ?>
       ```
   
 * I have Added the code on the top of my header.php file.
 * Now the shop is visible, but all the links in the shop don’t work, and i think
   it has to do something with the second code i have to add.

The topic ‘include( $_SERVER['DOCUMENT_ROOT']. doenst work’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Vledder](https://wordpress.org/support/users/ravledder/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/include-_serverdocument_root-doenst-work/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
