Forums

Added Meta Tag To Header - Page Displays Improperly (6 posts)

  1. RogerBrown
    Member
    Posted 2 years ago #

    http://www.fdnsolutions.com/blog
    Recently we added a description meta tag to the header and a title tag and some keyword tags. After uploading the page seems to not display properly.

    We took out the code and updated again and still the content is at the top and the pages column is located in the right column it just starts after the content above. The link shows this clearly. All of the other pages and posts are fine only the home page.

  2. moshu
    Member
    Posted 2 years ago #

  3. Otto42
    Moderator
    Posted 2 years ago #

    This is XHTML. Your meta tags should be a) lowercase and b) self closing. As in <meta name="whatever" />

  4. whooami
    Member
    Posted 2 years ago #

    your meta tags are done wrong:

    1. dont use caps
    2. they are self-closing tags

    for example you have :

    <META NAME="Revisit" CONTENT="21">

    that ought to be:

    <meta name="revisit" content="21" />

    Those are not causing your problem though..

    Beneath the meta tag stuff on the link moshu provided .. you have a stray </p> tag and some other structural errors.

    The biggest problem, most importantly, and probably the source of your problem is seen if you look at this:

    http://validator.w3.org/check?uri=http%3A%2F%2Fwww.fdnsolutions.com%2Fblog%2F&charset=%28detect+automatically%29&doctype=Inline&ss=1

    which actually shows your source...

    you'll notice that error #16 shows this:

    <p class="MsoNormal"><span class="best-answer-notify"> <a href="http://fdnsoluti

    ANYTHING that has the word 'MsoNormal' is something that has been copied from MS Word. You cannot copy and paste from Word Docs into WordPress because MS Word docs have hidden formatting inside them.

  5. RogerBrown
    Member
    Posted 2 years ago #

    Okay.... so i have made most of the changes. I am still a newbie so please just follow along.

    The file that i first edited was the header. I never edited anything else.

    It seems as though i can't make all of the changes within that file. I cannot find the MS word error or the non-closed elements.

    Here it comes. What file are these errors in? And can it be done in wordpress or dreamweaver?

    Thanks for your understanding.

  6. moshu
    Member
    Posted 2 years ago #

    Forget MS Word and Dreamweaver - don't use them with WP.

    Now, the Word errors come from your posts' content - since you are copy/pasting your articles from MS Word into the wyswiwyg (visual) editor. Never do that!

    Editing the files - you should use a plain text editor (I have read once here you could use DW but only in "code" mode; I don't know, I never used it.)

Topic Closed

This topic has been closed to new replies.

About this Topic