studio24 / wordpress-multi-env-config

WordPress multi-environment config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can you use 'localhost' as the domain hostname?

armyofda12mnkeys opened this issue · comments

Quick question... Can you use 'localhost' for the $hostname check, or you must setup vhosts/hosts file setup where there is a name like 'mywebsite.localhost' like your example.
Would be convenient to cover developers that don't setup a specific vhost for the Wordpress install/app.

yes, it is fine to use localhost.

I've added some clarity to the docs in the wp-config.env.php file, see c0c539f