What is the best or cleanest way to point a domain to the /bedrock/web root directory on a shared hosting server?
I’ve read that a rewrite in the .htaccess file would be a security issue since there is other stuff in that directory.
I’m in a bit of a time crunch and I’d hate to have to lose any of the functionality of Bedrock that i’ve spent so much time learning and implementing by simply moving the /web directory to the root!
So you now have full root access to your hosting right? Do you have write permissions one level above your public_html folder? If so, move your .env file, config & vendor folders one level above your web root.
I’ve moved up Bedrock, and the contents of Web to my public html directory, and made the change for the public access directory name to be replacing /web in application.php file.
I’m still getting a redirect to bedrock/web and a 500 Internal Server Error
The config and vendor folders shouldn’t be in a bedrock folder, just in the home directory. if you do want that you should update the paths in wp-config.php. That web folder in bedrock shouldn’t be there either. Also not seeing your .env file? Is it in the home directory too?