I’ve searched for exactly this at least 3,000 times (IRL not like Kat Willams library skills)
I figured let me house the solution so I (we?) can find it quickly …
It’s stupid simply and highly recommended especially if you’re hopping between I.P. addresses and URLs during development
Here you go:
Add the following snipped to your wp-config.php file in your root directory and you’re good to go! (I’m not going to tell you to change the URL lol.. if you don’t know that well.. )
Yeah.. that’s it.
Copy to Clipboard
Stick it wherever (In it’s own line of course)