• I use Dreamweaver 8 and WordPress 2.0.4 and yesterday after checking/updating/unchecking/updating the “WordPress should correct invalidly nested XHTML automatically ” option (under the Writing section of options) two sets of <!DOCTYPES> appeared in my header both for the site and all the wordpress admin pages. The only real issue is my site is ignoring the proper page title which could be a problem for Google indexing. I’ve scoured the net with no idea. I think it may be a Dreamweaver bug, but it’s somehow affected WP admin pages I haven’t opened. So, I’m not sure. TIA for the help.

    Please view my source at:
    https://www.celluloidandvinyl.com

Viewing 15 replies - 1 through 15 (of 15 total)
  • I remember DW users posting here that you should use it with WP only in code mode, never wysiwyg.

    Thread Starter candv

    (@candv)

    I was editing in code mode only…

    Thread Starter candv

    (@candv)

    This issue is also preventing me from posting. Any help would be greatly appreciated. Thanks.

    Did you check your header.php in a plain text editor? What is the code there?
    You seem to have non-WP stuff in your header file.

    Thread Starter candv

    (@candv)

    It’s definitely DW generated. I just can’t figure out how/why it’s adding it to all my wordpress PHP files…

    Thread Starter candv

    (@candv)

    I opened the PHP file in a plain text editor…code looks normal…

    One more reason NOT to use it when working on WP files. These “smart” programs always think they know better what you want. Use Notepad and you’ll be safe. (Or a decent text editor)

    Thread Starter candv

    (@candv)

    I just don’t see how DW’s messed with every WP admin page. Should I open every WP page in a text editor, save, then upload with an FTP client? Somewhat baffled..

    How did you upload the WP files to the server? via FTP or…?

    Check the main WP directory’s index.php. Did DW add anything to it?

    Hah, I just came back to post something similar… but Handy was faster (and I am slow ??

    Thread Starter candv

    (@candv)

    It’s clean. I even retyped it in text editor and uploaded it. No luck…

    Thread Starter candv

    (@candv)

    Anyone using Dreamweaver 8 that has come across the above problem? I don’t know how, but the program’s inserted


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    </body>
    </html>

    on every single wordpress PHP page, crippling my site.

    Thanks for any insight.

    Thread Starter candv

    (@candv)

    I’ve searched every WordPress PHP file for some sort of code that’s putting the unnecessary double header on every page. Nothing…

    Thread Starter candv

    (@candv)

    After a lot of searching and backtracking I found out the above code was nested in my Wp-Cache plugin config file causing it to appear in every PHP. Thanks though for your assistance.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Two Mark-Ups in Header Issue’ is closed to new replies.