configuration.php contains the following two lines
public $sitename = 'MyJoomlaPage';
public $sitename_pagetitles = '2';
(the '2' seem to mean "domain name AFTER page title")
Article named "Home" as landing page
Title of landing page "Home - MyJoomlaPage"
Title of landing page "Home"
Joomla: 3.4.5
Templates (beez/prototype) don't matter
libraries/joomla/document/html/renderer/head.php:111
$buffer .= $tab . '<title> ' .htmlspecialchars($document->getTitle(), ENT_COMPAT, 'UTF-8') . '</title>' . $lnEnd;
Should the configuration option not take THERE effect?
Category | Accessibility | ⇒ | Libraries |
So where is the configuration option rendered if not in libraries/joomla/document/html/renderer/head.php line 111?
Normaly title is set in view.html.php of components
elseif ($app->get('sitename_pagetitles', 0) == 2)
{
$title = JText::sprintf('JPAGETITLE', $title, $app->get('sitename'));
}
...
$this->document->setTitle($title);
head.php afterwards gets expanded title via $document->getTitle()
Check your plugins if somewhere title gets overriden e.g. by setTitle(...). Any extension, override and so on could do that.
You were right - Easy Frontend SEO was responsible for overwriting this setting
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-10-25 15:35:10 |
Closed_By | ⇒ | infograf768 |
Set to "closed" on behalf of @infograf768 by The JTracker Application at issues.joomla.org/joomla-cms/8134
Closing as not a joomla bug.
I can't reproduce this error. I do get here in the browser tab whatever saved in "Include Site Name in Page Titles"