Search code examples
htmlwordpressmeta-tags

Why does WordPress put "-" (dash) in front of site title


I've just noticed that all my WordPress sites render the site title in the following manner...

For a site titled "MySite" in the WordPress dashboard, the html meta tag will be:

<title> 
            - MySite    </title> 

What's with the dash and awkward whitespacing?


Solution

  • Did you do a copy-and-paste when you entered in your site title? Try clearing out the title under wp-admin and typing it in manually.

    Also, check the theme's template (header.php).