Thread Starter
jiri2
(@jiri2)
I tried to modify the header.php but didn’t find the term mydomain.com/name
So I looked for wp_title and bloginfo and found them here and there, but I didn’t find where to declare their definition, which I’m quite sure would really change the tab/blue bar’s description.
I tried Greg’s performance SEO, WP Title 2, Category SEO Meta Tags, but none of them got close to the tab/blue bar.
I vaguely remember domain.com/name being somewhere in the install process.
you won’t find ‘mydomain.com/name’ in the code, as this is the default output by your browser if no title tag sis set in the website.
have you tried to add a line like this to header.php, a few lines from the top:
<title><?php wp_title(); ?></title>
what excatly would you like to show in the title bar in the browser?
and do you want this to be different on diferent pages of your site?
can you paste the full code of header.php into a http://pastebin.com/ and post the link to it here? (how to: http://codex.wordpress.org/Forum_Welcome#Posting_Code )
Thread Starter
jiri2
(@jiri2)
Here’s a pastebin of my header.php i found in the editor of the wordpressinstall
http://pastebin.com/rzZ7fTYX
Where would i add <title><?php wp_title(); ?></title> , just before the header? Would it be <title><?php wp_title(); ?>My desired sign</title>
thank you
Thread Starter
jiri2
(@jiri2)
I meant, ‘just before the <head>?’
you can add it in the line just after <head>
(line 16 in the pastebin)
if you always want the same in the title, add:
<title>My desired sign</title>
if you want page dependant output, add something like:
<title><?php wp_title(); ?></title>
(or for more ideas, look into header.php of Twenty Eleven which uses this code http://pastebin.com/bkZAyNRN as title tag)
Thread Starter
jiri2
(@jiri2)
thanks! that worked great!