[Updated] Bedrock/capistrano on Media Temple: How to change document root?

Hi, I’m trying to deploy my site to Media Temple using Bedrock and Capistrano, but I don’t know how to change my document root to point to html/web instead of just html.

My cap production deploy completes, and everything runs, but when I go to davidham.com (my URL) in the browser, I get a 403 forbidden error. When I try to access /wp/wp-admin/ I get an unstyled version of WordPress’s 404 page. When I try /web/wp/wp-login.php, I get an unstyled version of the login page.

I have my MediaTemple html folder (the document root, not changeable as far as I can tell) symlinked to current. I tried this .htaccess file both in current and in current/web (linked with capistrano from `shared/web):

# BEGIN WordPress
   <IfModule mod_rewrite.c>
   RewriteEngine On
   RewriteBase /
   RewriteRule ^index\.php$ - [L]
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
   RewriteRule . /web/$1 [L]
   </IfModule>
# END WordPress

Has anyone else managed this? I think I’m pretty close with my .htaccess file but I can’t get it to work. Very grateful for any assistance!

Shouldn’t symlinking html to current/web do the trick?

I am having the same problem. As a fairly newbie to this, this one step is left out of all the tutorials and even the video that I bought from Roots (deploying with Capistrano). Was there a solution to this question?

See #4 from ‘Installation’ on GitHub - roots/bedrock: WordPress boilerplate with Composer, easier configuration, and an improved folder structure and https://roots.io/bedrock/docs/installing-bedrock/