• Resolved sushantdesai

    (@sushantdesai)


    Hello Everyone,

    I am getting some text in header of my website. Geting word “redi” in top left corner of the website. I checked header.php and index.php as well but i couldn’t see such text in any of the file.
    When i view source (Cntrl + U) i could see that text in this way
    “redi<!doctype html>
    <html lang=”en-US”>
    <head><script>”

    before doctype.

    Can any one help me to get rid of this “redi” text from header as early as possible?

    • This topic was modified 5 years ago by sushantdesai.
    • This topic was modified 5 years ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 5 replies - 1 through 5 (of 5 total)
  • catacaustic

    (@catacaustic)

    The text could be in almost any file that your site uses. If you’re using an IDE that supports a global search, then do a search for that string and see what it finds. If you don’t have that it means that you’ll have a very long, painful and tiring chore to go through every file looking for that manually. If that’s the case I’d suggest statrting off with your theme, then checking any custom plugins, then normal plugins then finaly the WordPress core code.

    Thread Starter sushantdesai

    (@sushantdesai)

    Hey Catacaustic,

    Few queries,

    1. You mentioned about IDE, i am not aware of it and can you help me with the steps to do the check? I am new to wordpress and php, so need your little guidance on it.

    2. And about painful task you are right. I a doing it from last 15hrs and couldn’t find it yet. Lot more file to go. Quick question on this, do i need to check JS files as well or only .php? Where i can find WordPress core code?
    I also deactivated my plugins to check but it didn’t work. ??

    Thans for your response.

    lisa

    (@contentiskey)

    General information about “IDE”
    https://www.codecademy.com/articles/what-is-an-ide

    try to narrow the source of the issue — is it from plugin or theme?

    1-change to theme like twenty twenty
    is the issue still happening? if not, then likely related to theme

    2-deactivate all plugins
    is the issue still happening? if not, then likely related one of the plugins.
    reactivate each plugin one by one until issue happens again

    3-is it possible that website files have been hacked?

    Thread Starter sushantdesai

    (@sushantdesai)

    Hello Lisa,

    Thanks for your reply!

    I will try point number 1

    Regarding point number 2, i tried and it didn’t work.

    Point 3, i have no idea about it. This was outsourced but now we are doing it inhouse

    I will drop a comment once i am done with theme change trial.

    Thanks again!

    Thread Starter sushantdesai

    (@sushantdesai)

    Hey Catacaustic & Lisa,

    Issue resolved!!!

    I checked every file and finally found it.

    Thank you for the support.

    Br,
    Sushant

    • This reply was modified 4 years, 12 months ago by sushantdesai.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting unknown text (word) in header’ is closed to new replies.