WordPress.org

Forums

[resolved] 404 message displayed differently in child theme (7 posts)

  1. Distiple
    Member
    Posted 2 years ago #

    Ive edited my 404 message in my themes 404.php file, and it is displaying correctly on my site (http://wordsandmusic.me), in hebrew, the language I am using.

    However, when I copied that same file into my child themes folder, the hebrew text is displayed as question marks on a black icon, as you can see here: http://wordsandmusic.me/bla

    Why is this happening?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    What did you use to create the 404.php template file?

  3. Distiple
    Member
    Posted 2 years ago #

    notepad++

  4. Distiple
    Member
    Posted 2 years ago #

    Thanks for the hint. Copied it in a different way and things now look as they should.

    Is using notepad++ generally a bad idea?

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Check what encoding is being used when the file is saved. It should be ANSII - not UTF-8 or Unicode.

  6. Distiple
    Member
    Posted 2 years ago #

    I see. Thanks for helping out so quickly.

  7. esmi
    Forum Moderator
    Posted 2 years ago #

    Is using notepad++ generally a bad idea?

    No. I know a couple of theme developers use it. You just have to make sure that it's saving .php files in the right format.

Topic Closed

This topic has been closed to new replies.

About this Topic