• Hi there —

    I just noticed in my access log that wordpress (I’ve narrowed it down to wordpress code, I believe) is hitting itself but generating requests to:
    /wp-content/themes/index.php

    I can’t yet replicate exactly what causes it but it my blog isn’t hit for awhile no new requests in…and then if I bang on it, I can get requests to come in but they come in like:
    202.xxx.xxx.xxx – – [24/Nov/2011:09:41:03 +0000] “GET /wp-content/themes/index.php HTTP/1.1” 200 5 “-” “PHP/5.2.10”

    From my box’s IP and with the PHP version as the useragent…and I specify a useragent in all my code.

    Searching I see other folks with the same issue:
    https://www.ads-software.com/support/topic/server-hitting-wp-contentthemesindexphp-124067-times-in-november?replies=2

    But no answers as to what is causing it…Any help would be appreciated!
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I am seeing this too. Any luck getting rid of the problem?

    Haven’t found the answer anywhere so I’m posting the solution.

    This issue is caused by the so called wordpress “security” plugins that appear to be firing this request to “verify” that your /themes/ directory cannot be indexed. They are expecting to see an empty page.

    Apparently the issue with your site is that you possibly deleted wp-content/themes/index.php

    The solution would be to create a file called index.php and place it in wp-content/themes/

    Also make sure that the file you created has the necessary permissions to be executed under the account of your web daemon or the account’s user.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress hitting /wp-content/themes/index.php repeatedly’ is closed to new replies.