Title: variable in LINK ?
Last modified: August 20, 2016

---

# variable in LINK ?

 *  [shopandstore](https://wordpress.org/support/users/shopandstore/)
 * (@shopandstore)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/variable-in-link/)
 * hello, i want the php file to include variable folder (i.e. MYSITE.COM/MYFOLDER)
 * what change needs this:
    <?php $var=MYFOLDER; $site=MYSITE.COM include(” .$var/.
   $site “); ?>

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/variable-in-link/#post-2570431)
 * You will need to add in the full path to the file.

Viewing 1 replies (of 1 total)

The topic ‘variable in LINK ?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/variable-in-link/#post-2570431)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
