Hi, I also wanted to request an update for “Giving WordPress Its Own Directory” codex page.
I followed the steps for “Using a pre-existing subdirectory install”. It did not work until I contacted my host provider “Bluehost”.
For Bluehost specifically these are the alternations:
– No need to copy index.php to the root directory
– .htaccess file, when copied from subdirectory to the root directory needs following updates:
https://my.bluehost.com/cgi/help/347 – “Modifying the .htaccess”
—————-cut and paste from the link above —————–
Modifying the .htaccess
You will want to insert the following code block and make modifications as noted in the (#) comments. You will need to change the two instances of example.com to your domain, and the three instances of subdirectory to the folder where you want your site.
# BlueHost.com
# .htaccess main domain to subdirectory redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file according to the instructions.
# Do not change this line.
RewriteEngine on
# Change example.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
# Change ‘subdirectory’ to be the directory you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/subdirectory/
# Don’t change these line.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change ‘subdirectory’ to be the directory you will use for your main domain.
RewriteRule ^(.*)$ /subdirectory/$1
# Change example.com to be your main domain again.
# Change ‘subdirectory’ to be the directory you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteRule ^(/)?$ subdirectory/index.html [L]
———————END cut and paste———————————
With these 2 alternations the codex instruction works.