How to point my domain to a WordPress install in a sub-directory?

I’d copy the wp subdirectory index.php to the top level, and edit the line

require(‘./wp-blog-header.php’);

to be

require(‘./subdir/wp-blog-header.php’);

and of course set the settings for site url and wordpress url to match as suggested above.

Leave a Comment