go41

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

von Joern am 18. Jan. 2011 | Keine Kommentare

you should put these lines into the head /head tag which is already there.
your header.php should start like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD X …
<html xmlns=….

<head ….
<meta http-equiv="….

<title>….

PUT YOUR META TAGS HERE (without head /head around as you are in there already)
Or even better replace this line:

<meta name="generator" content="WordPress <?php bloginfo(‚version‘); ?>" />
with your stuff (this line anyway shows up again…)
I would use a plugin for this, most of my sites I use wpSEO Version: 2.3

this version was free, newer versions cost money

there are other plugins doing that too
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 5 weitere Ergebnisse dieses Threads:

Where to put mega tags and description in blog’s template?

18. Jan. 2011 (von: omerkhan01)

Hi there, my site is hereI was told you need to put meta tags and description in the header.php fileSo I did thatCode:<meta name="keywords" content="their keywords will be written here" /><meta name="description" content="text">and as you can see my site was…

Re: Where to put mega tags and description in blog’s template? :: Reply by omerkhan01

19. Jan. 2011 (von: omerkhan01)

If I replace that part with my meta content and description my site gets pushed down and there is a big black gap between the top margin and my site. How do I make my site's top edge touch the…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

19. Jan. 2011 (von: Joern)

okay, this is the first half of arthemia header.phpCode:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>><head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog…

Re: Where to put mega tags and description in blog’s template? :: Reply by omerkhan01

19. Jan. 2011 (von: omerkhan01)

There is no space before DOCTYPE.I did add the keywords in that spot and the space didn't increase thanks. But do you see the black space between the top of the screen and the white container. How do I move…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

19. Jan. 2011 (von: Joern)

this position of keywords and description is better now, just one thing:in here:meta name="description" content="...the "Maaximum ..."you have to remove this one " (double quotation mark) as this is the pair of opening and closing marks for the content.this two…

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: