Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 16, 20186 yr Does anyone know where the code that makes page titles "{page} - {site name}" is? Is it a PHP function somewhere or is there a language string? I would like to change the "-" to another symbol.
October 16, 20186 yr \IPS\Output::buildMetaTags() /* Add the site name to the title */ if( \IPS\Settings::i()->board_name ) { $this->title .= ' - ' . \IPS\Settings::i()->board_name; } Any other dashes would be set in userland code elsewhere. Your best option, perhaps, would be to do a replacement on the character somewhere central just before it is output (i.e. at the end of this method).
Archived
This topic is now archived and is closed to further replies.