1.5 Different Directory Location (tip)
-
I just upgraded to 1.5. My main index.php file is in the site’s root directory, and all my wordpress files are in a subdirectory. Like this:
https://www.domainname.com/ [root directory]
https://www.domainname.com/wp/ [standard wp directory]How I got the new 1.5 index.php to work:
- I copied the index.php file from the /wp/ directory for use in the root directory.
- Edited the new [root directory] index.php:
Where it used to say:
require('./wp-blog-header.php');
I changed it to read:
require('./wp/wp-blog-header.php');
The addition of the
wp/
pointed to the proper location for all the files. Where there had been tons of ugly error messages, there is now beautiful blog.
I figured that other people might be wondering how to do that. (now on to fix other things)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘1.5 Different Directory Location (tip)’ is closed to new replies.