HeadSpace FAQ

These are some of the more popular questions asked about HeadSpace.

Why are my keywords or description not appearing?

Your theme must call wp_head in header.php. Most themes do this but if yours does not then you will need to modify it to look something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
  ... other stuff ...

  <?php wp_head(); ?>
</head>

Why is my page title not appearing?

Your theme must use the wp_title function in header.php. Most themes do this but if yours does not then you will need to modify it to look something like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
  ... other stuff ...

  <title><?php wp_title(''); ?></title>

  ... other stuff ...
</head>

I have unwanted characters in my title – how do I get rid of these?

These are probably inserted by your theme. You can use HeadSpace’s force title rewrite by editing the configuration for the title module:

force title rewrite

This will cache your entire page before rewriting the title and sending it to the user. This is the easiest method, but puts increased load on your server. If possible you should try and modify your theme’s header.php by changing the existing title that may look like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
  ... other stuff ...

  <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>

  ... other stuff ...
</head>

Into something that looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
  ... other stuff ...

  <title><?php wp_title(''); ?></title>

  ... other stuff ...
</head>

How do I remove my blog title or change it’s position in my page title?

Please see above unwanted characters in my title.

Why is my Google Analytics code not appearing?

Your theme must use the wp_footer function in footer.php. Most themes do this but if yours does not then you will need to modify it and add wp_footer just before the </body> element:

  ... other stuff ...

  <?php wp_footer(); ?>
</body>
</html>

How do I change the length of the description?

Go to the HeadSpace > Page Modules page, click the edit icon to the right of the description module, and enter your chosen length.

3 comments

  1. Hi, does the CrazyEgg script still work? I don’t see it inserting the code onto the site, it just enters the account # at the bottom of the page. The rest of Headspace works great.

    Thank you,

    Joe

  2. Thanks. I had my blog name showing up in all of my titles and thought it was due to the way HeadSpace worked. Fixed the header file as described above and now my titles are nice and clean. Great job on this plugin, it’s 100x better than all in one seo.

Comments are closed.