I would check your wp-config.php file to ensure it’s not being set there as well.
I have it set there also to the correct url.
define('WP_HOME','http://www.site.com/');
define('WP_SITEURL','http://www.site.com/');
Can you take a screenshot or some how show us/tell us more about the “column headers that are clickable/sortable”?
Here is a screen shot, http://i.imgur.com/XkRDm.jpg where you see *chuck is me trying to work backwards through the core files to see if I can figure out how the url is being set, wondering now if wordpress is setting the url based on the server, since the site is still on atlas.site.com, that is the only place I can see atlas might show up.
Ok so apparently this site is behind a firewall or proxy.
On lines 491 and 658 in wp-admin/includes/class-wp-list-table.php, replace this line:
$current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
with
if(!empty($_SERVER['HTTP_X_FORWARDED_HOST'])){ $hostname = $_SERVER['HTTP_X_FORWARDED_HOST']; } else { $hostname = $_SERVER['HTTP_HOST']; } $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $hostname . $_SERVER['REQUEST_URI'];
I’ve posted a new question to see if anyone can come up with a way to do this without modifying core files.
http://wordpress.stackexchange.com/q/52801/4090
The solution ended up adding
if ( ! empty( $_SERVER['HTTP_X_FORWARDED_HOST'] ) ) {
$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
}
to wp-config.php