Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • It wound up being malware that was causing me all of the issues…

    I am thinking that what’s causing the .htaccess file is combination of two things:

    1. Site is being compromised. I use Securi to monitor my sites and they are reporting security warnings on the server side:

    “File possibly compromised: ./starting.php (php.spam-seo.wordpress-infector.001). Manual review recommended.”

    2. The WordPress theme – according to the theme’s creator, the theme is from 2011 and its not getting enough sales for him to invest a whole week or more updating it, and he will likely not be doing such an update.

    yeah I’ve been on the phone with them…the next thing I do is to change the theme to see if that’s tripping the .htaccess.

    I’ll keep this post updated, thanks

    I added the recommended code to the top of my .htaccess file, as instructed in that webpage you recommended. After awhile, I started getting the 404 errors again.

    My conclusion – something is re-writing my .htaccess file. When I start seeing these 404 errors return, the code within that file changes to this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_USER_AGENT} (google|yahoo|msn|aol|bing) [OR]
    RewriteCond %{HTTP_REFERER} (google|yahoo|msn|aol|bing)
    RewriteRule ^([^/]*)/$ /starting.php?p=$1 [L]
    </IfModule>

    thank you Janet, I really appreciate you helping me!

    I’ve added that snippet of code that site recommended…fingers again crossed that it works, will post the outcome today!

    Hi, and thanks…yeah I’ve seen that page and looked at my .htaccess file in Dreamweaver.

    I’m a bit confused – it says to login to your server using FTP, and modify the .htaccess file.

    Modify it with what???

    The code that your linked post suggests is already in the .htaccess file, so I’m not sure why they list that as an option. I’ve even tried completely deleting the .htaccess file and re-saving the permalinks, as someone suggested on a forum post, but I’m STILL having this 404 problem.

    I’ve also contacted the host (GoDaddy) and their suggestions were basic, such as re-saving the Permalinks structure. I’ve been going around in circles and pretty much to a point where I’ve run out of options.

    Does ANYONE know of any other way to fix this besides the ways I’ve listed?

    Thanks

    I’ve been having the exact same issue over the last few weeks…I’m thinking it has something to do with this latest version of WordPress.

    I’ve scoured the web to find help to resolve my issue, but
    for the life of me cannot get anything to work.

    The permalink that I have always used is “Custom structure” (/%category%/%postname%/)…here are some things that I’ve tried:

    1 . Gone into my permalinks, clicked “save settings”, and that method provides a temporary fix, maybe for an hour or two, then the 404 errors return on all secondary pages. I’ve also set my permalinks to a different option, such as “Default”, but still get 404 errors shortly after.

    2. Completely deleted my htaccess.php file, then went back and saved permalink settings…less than an hour later, 404 errors returned.

    3. Commented out this line of code in my function.php file, also completely removed it altogether:

    “$wp_rewrite->flush_rules();”. That didn’t do anything. I’ve tried
    using both “//” and “#” before it and tested…still get 404 errors.

    4. De-activated all of my plugins to see it one of them was the culprit, but after a short time, my 404 errors resumed while none of the plugins were active.

    Like I said, this issue just start a few weeks ago. I use Securi
    Security and had them scan my site for any malware, etc…and the site
    is clean.

    Can someone PLEASE help me with this? Would bigtime appreciate it!

    Thread Starter jcutroni

    (@jcutroni)

    ok guys, I think I’ve run out of ideas…any else have any ideas?

    Thread Starter jcutroni

    (@jcutroni)

    Crossing fingers didn’t work…and neither did deleting the .htaccess file and going into the permaalinks and saving settings…10 minutes later and I started getting 404 errors on my back end pages.

    Thread Starter jcutroni

    (@jcutroni)

    I saw someone mention on a blog to try deleting the .htaccess file on the server, then after deleting it to go to Settings » Permalinks and save your desired permalinks settings.

    CROSSING FINGERS

    Thread Starter jcutroni

    (@jcutroni)

    yeah, I’ve been saving that page whenever I’ve been forced to do the “quick fix” method that I described in my initial post (by selecting a different permalink setting, such as “Default”, then clicking Save, then re-selecting “Custom Structure” and clicking Save.)

    My Custom structure’s extension has always been set to “/%category%/%postname%/”…just these last few weeks has this issue of receiving 404’s started.

    Thread Starter jcutroni

    (@jcutroni)

    hi Dave, thanks…

    Are you saying to go into each individual web page and re-save the page?

    Thread Starter jcutroni

    (@jcutroni)

    UPDATE:

    After de-activating ALL of my active plugins, I then re-visited the site, and the same thing is happening – 404 errors on every page other than the home page…so that rules out any plugins causing the problem.

    What next? Any recommendations??

    Thread Starter jcutroni

    (@jcutroni)

    hmmm, don’t think so…but what I just did is de-activate ALL of my active plugins and I’m waiting to see if I start getting 404 errors…if I don’t, then I’m going to re-activate them one by one.

    Here’s the list of plugins that have been active since this issue started:

    Akismet
    BackWPup
    Exploit Scanner
    Google Authenticator
    Growmap Anti Spambot Plugin
    Jetpack by WordPress.com
    Redirection
    Theme Authenticity Checker (TAC)
    TimThumb Vulnerability Scanner
    WordPress SEO
    WP Splash Image

    Thanks for your reply!

    Thread Starter jcutroni

    (@jcutroni)

    any help at all on this would be fantastic. thanks!

Viewing 15 replies - 1 through 15 (of 15 total)