mamp localhost not picking up wp-login

If you want to access your WordPress site on the new device with a domain, such as wordpress.local instead of localhost:8888/wordpress, you may want to define a vhost configuration for MAMP first and add a local DNS record in your /etc/hosts file. Once you’ve established the domain you want to use to access the site, … Read more

ssh-keygen does not create RSA private key

I faced the same problem recently (after upgrade to mojave 10.14.1), here are 2 possible solutions for this issue. Downgrade your ssh-keygen binary (you can easily get old version from any linux/docker image) OR Add option -m PEM into your ssh-keygen command. For example, you can run ssh-keygen -m PEM -t rsa -b 4096 -C … Read more

XAMPP-VM Mac OS Mojave wordpress debugging using XDebug

After days of struggle to enable debugging, I switched to MAMP free version which was a cakewalk. For Step by step guide please follow this blog by Josh Buchea. Has a detailed walkthrough. Hope this helps someone stuck on Mac with Xampp-VM like i did. Switch to MAMP free version. Happy coding WordPress PHP

Different development environments (Mac & Windows)

You need to have 2 sets of settings one for if file_exists and one for else: if ( file_exists( dirname( __FILE__ ) . ‘/local-config.php’ ) ) { include( dirname( __FILE__ ) . ‘/local-config.php’ ); define( ‘WP_LOCAL_DEV’, true ); } else { define(‘WP_HOME’, ‘http://localhost:666/projectname/’); define(‘WP_SITEURL’, ‘http://localhost/foldername/wordpress/’); }