Recent Topics

1 Apr 08, 2008 15:18    

My b2evolution Version: 1.10.x

I notice in when searching in google my pages have the title of the post. So it might be "Post A is Great!"

Where would I find this code? I'd like to add the tile of the site so that the listing in the search engines would be:

"My Blog Name: Post A is Great!"

Thanks...

2 Apr 08, 2008 15:52

<title><?php
    // ------------------------- TITLE FOR THE CURRENT REQUEST -------------------------
    request_title( array(
        'auto_pilot'		  => 'seo_title',
        'title_single_before' => $Blog->get( 'name' ).': ',
    ) );
    // ------------------------------ END OF REQUEST TITLE -----------------------------
?></title>

This is for 2.x version, sorry I didn't read your post carefully. I'll post the code for 1.10 in a minute ;)

3 Apr 08, 2008 16:07

Hey, in 1.10 the single post title is already in format "Blog name - Post title", at least in default skins.

Just make sure your _main.php has this code

<title><?php
		$Blog->disp( 'name', 'htmlhead' );
		request_title( ': ', '', ' - ', 'htmlhead' );
	?></title>


Form is loading...