qb7 wrote:teitbite wrote:Hi
Please update the templete to the latest version and try disable cache for a while. If You would see that problem without cache active please report this to me.
The same problem I have wich the last version. Some time when I connet to my domain, the broser read to localhost¿¿?? and not to
http://www.mydomain.com
This is the firebug HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="es-es" xml:lang="es-es" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://ogp.me/ns#" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="IE=9" http-equiv="X-UA-Compatible">
<base href="http://localhost/">
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta content="XXXX, CIC, CAJAS, CAJAS DE AHORRO, SINDICATO" name="keywords">
<meta content="XXXX" name="description">
<meta content="Joomla! - Open Source Content Management" name="generator">
<title>Bienvenidos a XXXX</title>
<link title="RSS 2.0" type="application/rss+xml" rel="alternate" href="/index.php?format=feed&type=rss">
<link title="Atom 1.0" type="application/atom+xml" rel="alternate" href="/index.php?format=feed&type=atom">
<link type="image/vnd.microsoft.icon" rel="shortcut icon" href="http://localhost/images/favicon.ico">
<link type="application/opensearchdescription+xml" title="Buscar XXXXX" rel="search" href="http://localhost/index.php/component/search/?format=opensearch">
<link type="text/css" href="/media/system/css/modal.css" rel="stylesheet">
<link type="text/css" href="/templates/gk_twn2/css/k2.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/menu.gkmenu.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/reset/meyer.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/layout.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/joomla.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/template.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/menu.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/gk.stuff.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/typography.style1.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/typography.iconset.1.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/typography.iconset.2.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/typography.iconset.3.css" rel="stylesheet">
<link type="text/css" href="http://localhost/templates/gk_twn2/css/style1.css" rel="stylesheet">
<link type="text/css" href="http://localhost/modules/mod_news_pro_gk4/interface/css/style.portal.mode.4.css" rel="stylesheet">
<link type="text/css" href="http://localhost/modules/mod_weather_gk4/style/style.css" rel="stylesheet">
<link type="text/css" href="http://localhost/modules/mod_news_pro_gk4/interface/css/style.css" rel="stylesheet">
<link type="text/css" href="http://localhost/plugins/system/gk_ajax_search/gk_ajax_search.css" rel="stylesheet">
<style type="text/css">
<script type="text/javascript" src="/media/system/js/mootools-core.js">
<script type="text/javascript" src="/media/system/js/core.js">
<script type="text/javascript" src="/media/system/js/mootools-more.js">
<script type="text/javascript" src="/media/system/js/modal.js">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
<script type="text/javascript" src="/components/com_k2/js/k2.js">
<script type="text/javascript" src="/media/system/js/caption.js">
<script type="text/javascript" src="http://localhost/templates/gk_twn2/js/menu.gkmenu.js">
<script type="text/javascript" src="http://localhost/templates/gk_twn2/js/gk.scripts.js">
<script async="async" defer="defer" type="t" src="http://localhost/modules/mod_news_pro_gk4/interface/scripts/engine.portal.mode.4.js">
<script type="text/javascript" src="http://localhost/modules/mod_news_pro_gk4/interface/scripts/engine.js">
<script type="text/javascript" src="http://localhost/plugins/system/gk_ajax_search/gk_ajax_search.js">
<script type="text/javascript">
<script id="gkLazyLoad" src="http://localhost/templates/gk_twn2/js/lazyload.js" data-excluded="null" type="text/javascript">
<style type="text/css">
</head>
Base href is wrong this is in production in the hosting, correct is
http://www.mydomain.com/where it reads the variable urltemplate()
I think this is the source of the problem.