The custom typography styles with the GK TWN II template on my site appear to work on an inconsistent basis. I'm referring to the styles of the Main Menu and the article titles. Sometimes they display in the custom font, at other times they are just in Arial. I'm viewing it on the same desktop system, Firefox 34.0.5, Mac OSX 10.6.8, Joomla 2.5.28.
Through the method described below, I've determined that it has to do with a missing "www" in the URL entered in the location field. I could use some help in resolving it proper so it always displays in the custom font, no matter the URL format.
---
Today I went to the front-end site directly and it was displaying in Arial. Then I logged into the admin area, and viewed the front-end site and it was in the custom font. Strange.
I compared the source code of the bad font page against the good font page, and aside from the only notable difference, aside from what I assume are a couple of hidden input field session cookie values, are in the following opensearch link tag:
- Code: Select all
<link href="http://www.mysite.com/staging/index.php?option=com_search&format=opensearch" rel="search" title="Search My Site" type="application/opensearchdescription+xml" />
The difference between the good and bad is that in the link URL, the bad font page does not have a "www." in the URL. And sure enough, if I manually type in the "www" into the bad page URL and load it, the fonts display in the proper custom font.
I know I can create a redirect in my htaccess file forcing the "www" into the URL, but I'd like to fix the problem so that it works in both URLs, with or without the "www.
Any help is appreciated.
Railer