Posts Tagged “WordPress”

I was trying to find out why there is a vertical bar (|) in the title for our evonypress home. 

In order to customize your pages in WordPress you have to work with templates.  The pages themselves are in a database.  It’s a smart design, but hard to maintain the pages themselves. 

The WordPress header and title are in a file called header.php in the current theme directory on your WordPress installation folder.  Its HTML Title tag is defined as something like:

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

The wp_title() function tells you the blog title, and the bloginfo('name') function tells you the blog name.  Except, changing it didn’t work!  If you remove the title tag completely the window doesn’t have a title, and if you have a title tag then no matter what you put in it will say "| EvonyPress" – EvonyPress being the blog name.   Even if you put "ABCD" for the title, it will not show it.  The EvonyPress title is stored in the database, and configurable from the admin->settings panel under the blog name edit box.  Something just HAD to be rewriting the title in script, but I couldn’t find it.

It turns out that people actually believe the titles play a crucial role for SEO (Search Engine Optimization).   See for example this site (an SEO title plugin for WordPress), or just google 'WordPress title'.  The EvonyPress has a plugin called All in One SEO.  When you click on it in the admin panel under settings you will configure it.  Fix the page title format to not include a blog post title.  Just include %blog_title%.  I know it's a minor and almost obvious issue, but if someone else out there in the websphere is unaware of plugins others installed and are facing this strange behaviour, then I hope I can save them some time. 

Speaking of SEO - if you want a higher page rank on google, put a lot of links in your blog post, it makes for a better article anyhow, and takes only a little less laziness.  Let me help you get started.  Copy the following URL: http://info.evonypress.com.   Paste it into your own blog, anywhere really, and tell them how much I've helped you with, well, life.  Go on, it's good for you.

Comments Comments Off