Doug Hatcher

Doug Hatcher

Enterprise architecture and tech junkie

Note

You’re likely putting too much thought into it. If you want to go with a .htaccess rule, I’d suggest updating the one in pub/ and making a rewrite rule routing to your WordPress directory. Personally, I would consider Magento and WordPress two separate app installations and would add configuration to apache directly for this. When you install Magento with composer, .htaccess files and the like will get clobbered so the separation is nice. Not to mention, having WordPress sitting in a child directory of Magento is a security issue generally.

Check out how to use mod_rewrite, there’s a relevant example right below the fold https://httpd.apache.org/docs/current/mod/mod_rewrite.html

www.reddit.com/r/magento…

Note

Definitely, seems like GraphQL should be a foundational feature. Many (new) AMP and CMS frameworks are written in js and rely extensively on GraphQL and edge-caching for performance. Surely WordPress will move in that direction too.

www.reddit.com/r/PHP/com…

Note

You’re just now installing Magento 2 on a live site? I would suggest building a staging environment and testing everything out, M2 is slow compared to M1 (and any other php framework that comes to mind) and prone to problems I wouldn’t suggest just cowboying it.

www.reddit.com/r/Magento…

Note

Some of the PHP frameworks are deep and complex, I’d suggest focusing on those - they’re written in PHP so by using them you’ll get exposure to the underpinnings.

www.reddit.com/r/PHP/com…

Note

Are people really angry over this? It’s not insulting your job, it’s saying that using _THIS_ PHP interpreter isn’t recommended, it’s going away. You can install PHP sixty different ways, they would recommend one of those.

www.reddit.com/r/PHP/com…