WordPress, by default, creates <title> tags that look like this: <title>Yoursite » Your Post Title</title>. Many people want to use <title>Your Post Title » Yoursite</title> instead, to give more importance to the mutable part of the <title>. There are plugins to do this, but I’d like to show you how a simple change in your theme can accomplish this task. Caveat: this only works in WordPress 2.5 and above.
header.php
theme file (if you don’t have one, open index.php
or whatever one has your <title> tag)<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<title><?php wp_title('»', true, 'right'); ?> <?php bloginfo('name'); ?></title>
The first wp_title()
argument is the separator character. I like »
(which looks like: »). The second argument is whether to echo (print to the browser) the title, or to return it. We want to print it, so we put true
. The final argument is where the separator should go… on the left or on the right. We want right, so we put "right"
. Simple enough!
Update: I got confirmation from Matt Cutts at Google that this is better for SEO.
வணக்கம் நண்பர்களே
எனது புளாக்கரின் பதிவுகளை தனித்தளத்துக்கு import பண்ணும் போது என் மற்றைய வலைப்பதிவுகளை import செய்யக் காட்டுகின்றது ஆனால் குறித்த வலைப்பதிவுக்கு மட்டும் கீழ்க்காணும் அறிவிப்பு வருகின்றது authorise கொடுத்தாலும் பிரச்சனை பண்ணுது? உதவ முடியுமா?
Howdy! This importer allows you to import posts and comments from your Blogger account into your WordPress blog.
To use this importer, you must have a Google account, an upgraded (New, was Beta) blog, and it must be on blogspot or a custom domain (not FTP).
The first thing you need to do is tell Blogger to let WordPress access your account. You will be sent back here after providing authorization.
We were not able to gain access to your account. Try starting over.
We have saved some information about your Blogger account in your WordPress database. Clearing this information will allow you to start over. Restarting will not affect any posts you have already imported. If you attempt to re-import a blog, duplicate posts and comments will be skipped.