WordPress.org

Forums

Extra Period at the top of the page (6 posts)

  1. joeybernal
    Member
    Posted 5 years ago #

    Hello World,

    I have a problem trying to locate an extra period at the top of my website. It seems to be a period typed in by who knows what!?

    Anyway, I tried using Firebug to figure out where it's coming from and it seems to be not specific to any theme.

    It's a black dot at the top of the page:
    http://www.caresfgh.org/wp/

    Any help is much appreciated!

  2. Jonathan Dingman
    Member
    Posted 5 years ago #

    It's likely just an extra period in your theme. check the header.php or index.php for it

  3. joeybernal
    Member
    Posted 5 years ago #

    Thanks jdingman.

    I checked those files and I didn't see any extra periods.
    From the admin side of my website it is also appearing. I viewed the source code and saw that the period is appearing right before the DOCTYPE statement...

    .<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    Do you know how to remove it?

  4. Jonathan Dingman
    Member
    Posted 5 years ago #

    just edit the file with any text editor and it should remove it.

  5. joeybernal
    Member
    Posted 5 years ago #

    Thanks again jding...
    I found the extra period in wp-config.php and removed it. It is the oddest thing. I don't think I touched that file.

  6. Jonathan Dingman
    Member
    Posted 5 years ago #

    I would install the WP File Monitor plugin too, to make sure you don't get hacked (or if you do get hacked, it will tell you which files got modified).

    Good security plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags