diff --git a/unl_theme/views/default/page_elements/header.php b/unl_theme/views/default/page_elements/header.php
index 0350a8899f23e45226c4d76aaee9f2b4be38c8e7..77b2d968fcb7da86d118d8114df7529c6a8098cb 100644
--- a/unl_theme/views/default/page_elements/header.php
+++ b/unl_theme/views/default/page_elements/header.php
@@ -54,7 +54,7 @@ if ($vars['title'] == "Edit profile") {
 	// Edit Profile Stuff
 	function updateLL () {
 		var city = $("input[name=form_data_profile_city]").val(), state = $("input[name=form_data_profile_state]").val(), country = $("input[name=form_data_profile_country]").val();
-		$.get("/UNL_Elgg/scripts/latlon.php",{city:city,state:state,country:country},function(response){
+		$.get("<?php echo $vars['url']; ?>mod/unl_theme/scripts/latlon.php",{city:city,state:state,country:country},function(response){
 			try {
 				var data = eval(response);
 				$("input[name=form_data_latitude]").val(data.latitude);