Hi. I’m wondering how/if I can serve a Wordpress blog with a bedrock setup from a sub directory.
I have my site at mysite.com and want to have my Wordpress blog at mysite.com/blog.
However, with this setup the root folder of the bedrock install is exposed which might be problematic, or what do you guys think?
Also, I’m not sure how I need to change things to get this to work smoothly. What I did was that I moved the index.php file from the htdocs folder to the root folder, and added the htdocs folder to the path that requires the wp-blog-header.php.
However, this seems to have created some problems with incorrect paths. Now Wordpress is looking for my CSS at http://local.mysite.com/blog/app/themes/oden/dist/css/style.css?ver=1466173095 while the correct path would behttp://local.mysite.com/blog/htdocs/app/themes/oden/dist/css/style.css?ver=1466173095
Yes, like you said, the root folder is exposed, which is not part of the Bedrock design.
In your particular case, I would suggest either moving the Bedrock installation up to the folder above local.mysite.com, but then the web folder would become blog. You would still need to make a few modifications to change web to the new folder structure. Or else use a standard WP installation.
Interested in this as well, as we’ve come across a tech requirement to run a wordpress install inside a subdirectory, and as far as we’ve seen this isn’t possible with Bedrock unless someone knows something else.