-
Socrates Site Title not being overwritten by the Yoast Wordpress SEO Plugin
Hi,
I am using the Yoast Wordpress SEO Plugin Version 1.2.3 with Socrates version 3.03 and the Site Title and Meta Tags in Socrates are not being overwritten by the Yoast Wordpress SEO Plugin.
One solution is to select "Force rewrite titles" in the Title Settings of the Yoast Wordpress SEO Plugin but this is a bad solution because it will increase the page load time. The other solution for WordPress SEO to be able to modify the page titles (which does not increase the page load time) is to edit the Socrates header.php template so the title section of the header.php file should look like this: <title><?php wp_title(''); ?></title>
To do this, do I just remove:
<title><?php $metaSettings = get_option("metaSettings"); if(is_home()) { if($metaSettings['sitetitle'] and $metaSettings['sitetitle'] != '') {echo $metaSettings['sitetitle'];} else {bloginfo('name'); }} else { the_title(); }?></title> , from the header.php file and replace it with <title><?php wp_title(''); ?></title>
Thanks in advance for your help!
-
Yes, just replace that whole piece of code with the shorter title.
-
Similar Threads
-
By Janek in forum Official Support
Replies: 3
Last Post: 03-18-2012, 06:23 PM
-
Replies: 2
Last Post: 11-23-2011, 10:01 AM
-
By livelife in forum Graphics and Design
Replies: 2
Last Post: 03-30-2011, 08:50 PM
-
By Supamac in forum General Chat
Replies: 2
Last Post: 07-19-2010, 09:40 AM
-
By ajoy77.dutta in forum Plugins
Replies: 1
Last Post: 07-08-2010, 11:48 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|