The current title I have in my wordpress blog is just <title>what i typed in</title> www.cristianoronaldofan.(net) I want the title to be automatic from the page name for all the pages e.g. http://www.cristianoronaldofan.net/ronaldo-wins-player-of-the-month-march = <title>ronaldo-wins-player-of-the-month-march</title> However I want the homepage to stay the same as it is. can someone help? thanks
Edit the file called header.php in your templates folder Look for this <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> Code (markup): then you add something around like if (is_single()) { // echo alternative <title> } else { // echo original <title> } Code (markup): Use the wordpress documentation to get the syntax - particularly for picking up the post slug.
Thanks. I got the first bit to work, but not the second. I know nothing about php, so I can't work it out by myself.
u can use all in one seo pack plugin which will do all this job and all meta tags .. image description and lot more ..... it is available in plugin directory
any idea what it is called? Its important the the index page is my own set title, but the rest I want generated.