<a href="https://localhost/">Home</a>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>[[*pagetitle]] - [[++site_name]]</title> <base href="[[!++site_url]]" /> <meta name="description" content="[[*description]]"> <link href="assets/reset.css" rel="stylesheet" type="text/css" /> <link href="assets/style.css" rel="stylesheet" type="text/css" />
This question has been answered by matdave. See the first response.
How did you create your home link in the template? Was it something like this: <a href="[[~1]]">Home</a>?
Is there anything in .htaccess that could be doing that?
MODX uses whatever URL you come in on for the site_url setting.
You might also take a look at the core/config/config.inc.php file to see if it says 'localhost' anywhere.
if (!defined('MODX_SITE_URL')) {
$site_url= $url_scheme . $http_host . MODX_BASE_URL;
define('MODX_SITE_URL', $site_url);
}How did you create your home link in the template? Was it something like this: <a href="[[~1]]">Home</a>?
If you don't see the word 'localhost' in the .htaccess file, the problem isn't there.
You didn't answer Treigh's quesion:
How did you create your home link in the template? Was it something like this: <a href="[[~1]]">Home</a>?
You might also look in cPanel and see if there is a virtual host that someone set up.
What version of MODX is this?2.3.1-pl