On my Mac, I modified the VirtualHost
:
<VirtualHost *:80>
DocumentRoot "/Users/me/Documents/github/gps_cms"
ServerName gps_cms
</VirtualHost>
That is so I can type gps_cms in URL and invoke the web page on localhost.
However, when I type in:
http://gps_cms/wp-admin
It redirects to my main site:
http://example.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F
And the content on page is this:
No Update Required
Your WordPress database is already up-to-date!