Title: About ABSPATH
Last modified: August 18, 2016

---

# About ABSPATH

 *  [basketball](https://wordpress.org/support/users/basketball/)
 * (@basketball)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/about-abspath/)
 * I am a total php newbie so any help would be appreciated. I am trying to create
   some pages for my static pages for my site in a directory within my wordpress
   installation.
    For example my blog is [http://basketball2k.com/site/](http://basketball2k.com/site/)
   and the page I’m trying to create would be [http://basketball2k.com/site/interactive/index.php](http://basketball2k.com/site/interactive/index.php)
   So now when I try to copy the structure of the index.php file and put it in the
   interactive directoryt it keeps saying that
 * > Warning: main(ABSPATHwp-blog-header.php): failed to open stream: No such file
   > or directory in /home/bball2/public_html/site/interactive/index.php on line
   > 1
 * Is their a way I can specify that the wp-blog-header.php is at /home/bball2/public_html/
   site/ and that’s the only place it’s at?

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/about-abspath/#post-121227)
 * In your wp install, it has this:
    `<?php  /* Don't remove this line. */ require('./
   wp-blog-header.php'); ?> For what you want, I would make that like this: <?php/*
   Don't remove this line. */ require('../../wp-blog-header.php'); ?> If that doesn’t
   work, then: <?php  /* Don't remove this line. */ require('../wp-blog-header.php');?
   > But I think the second one will work..
 *  [anywhereis1995](https://wordpress.org/support/users/anywhereis1995/)
 * (@anywhereis1995)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/about-abspath/#post-121625)
 * something about directory/path
 *  [masquerade](https://wordpress.org/support/users/masquerade/)
 * (@masquerade)
 * [20 years, 9 months ago](https://wordpress.org/support/topic/about-abspath/#post-121626)
 * require(‘/home/bball2/public_html/site/wp-blog-header.php’)

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

The topic ‘About ABSPATH’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [masquerade](https://wordpress.org/support/users/masquerade/)
 * Last activity: [20 years, 9 months ago](https://wordpress.org/support/topic/about-abspath/#post-121626)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
