Troubleshooting: Double Title When Sharing Website

Last Updated: Jun 27, 2017
Issue: When linking to/sharing your page on social media, if you run into an issue where the title of your page looks something like this:

Wordpress Website TitleWordpress Website Title | Project

this article will show you how to fix it.

Solution:
1. Within your Wordpress Dashboard, navigate to Appearance > Editor.
(Note: Some web hosting providers have this disabled, so you may need to enable it when you get to the page.)

2. There will be a list on the right side of the page with all of the theme files, look for Theme Header (header.php), click to open it.

3. Using your browser's find tool (Ctrl/Cmd + F), search for <!-- Facebook -->, under that line, you'll see a line of code either identical or similar to this:

<meta property="og:title" content="<?php bloginfo('name'); ?><?php wp_title('&rsaquo;'); ?>" />

Remove the part that says <?php bloginfo('name'); ?>.

4. Click Update File.

5. Use the Facebook Sharing Debugger to make sure it worked. You'll need to be logged into a Facebook account to use it.

If you feel uncomfortable editing your theme files in this way, you can email help@semplicelabs.com and we can do it for you.
17c96688a1a336f6040dd1b6149c3fa8@semplicelabs.desk-mail.com
http://assets3.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete