in the options table: siteurl – is optionally the subdirectory where wp-config etc. live home – is the address the user types in to see the home page. in index.php
0 1 2 3 | /** Loads the WordPress Environment and Template */ require('./my_subdir/wp-blog-header.php'); |
in wp-config:
0 1 2 3 4 | /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/my_subdir/'); |