• Hello all,

    My site has a page does not exist, but when I search google for my site’s name and it cames up with a page:

    http://www.phpsuperblog.com/notice.php/

    notice.php <—- do not exist, I did not create this page but it exists and the page goes all wrong with the sidebar and even the search engine make it as the home of my site, is my site got hacked?? Please help.

    Thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • About

    Welcome to PHPsuperBlog.com – Learn PHP Together.

    My name is Shek, achieved a degree of bachelor of computing in Hong Kong and currently an I.T. engineer in a company with factories in Asia. My duties are mainly develop online applications for the company use.

    …and you are having trouble finding a starting point for diagnosis?

    The “home” of your site is here;

    http://www.phpsuperblog.com/

    …and this is how the actual cached page looks for the link you posted above;

    http://64.233.169.104/search?q=cache:9t0cmUU5M04J:www.phpsuperblog.com/notice.php/+www.phpsuperblog.com/notice.php/&hl=en&ct=clnk&cd=2&gl=us

    There is no “notice.php” file in a default copy of BlogOhBlog’s Big Blue theme. If you did not introduce it intentionally , and it is not the by-product of a vulnerable plugin, a modification you made, or the work effort of a known associate, then you have to assume that you need to start looking for open attack vectors. It appears to be just a poorly constructed disclaimer page with out-of-wack div’s. Are you sure there is not a “notice.php” page template somewhere in your theme folder that has somehow gotten omitted from the page menu?

    Is it possible that you may have used that page at one time and had a link to it from your other domain: http://www.supershek.com/ ?

    “These terms only appear in links pointing to this page: www phpsuperblog com notice php” -Google’s cache

    I’m stumped.

    Thread Starter hey2you

    (@hey2you)

    problem fixed:

    1. Put the 404.php file from the default theme to my existing theme
    2. Then In the file: wp-include/query.php

    Line 922:
    if ( (‘page’ != get_option(‘show_on_front’) ) || ( $reqpage != get_option(‘page_for_posts’) ) ) {
    $q[‘pagename’] = str_replace(‘%2F’, ‘/’, urlencode(urldecode($q[‘pagename’])));

    replace with this below

    if ( (‘page’ != get_option(‘show_on_front’) ) || ( $reqpage !== get_option(‘page_for_posts’) ) ) {
    $q[‘pagename’] = str_replace(‘%2F’, ‘/’, urlencode(urldecode($q[‘pagename’])));

    the solution above fix the problem of loading all the pages together in one page instead of the 404.php when a non existing page is enter, now is fine 🙂 .

    I had the same problem, and your last post solved it. Thanks!

    Just for curiosity, how did you come up with that solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘A page does not exist is exist’ is closed to new replies.