Solution to a 404 problem with wordpress

Solution to a 404 problem with wordpress

25.01.2011

Every page shows the 404-message today. We did not do anything on the site that could have caused this. I thought that it was a plugin that had broken, cause I could not even access the plugins page in the dashboard. I tried to disable every plugin by changing their names via a ftp-client, but that did not help. Then I checked the .htaccess files and saw something odd:

/tmp/25454b22bf39c75795851f39d5e347c4

25454b22bf39c75795851f39d5e347c4

Its some lines there containing this: 25454b22bf39c75795851f39d5e347c4

There were two lines at the bottom of the file that said the following:

AddType application/x-httpd-php .php .phtml .php3 .php4 .php5 .htm .html
php_value auto_prepend_file /tmp/25454b22bf39c75795851f39d5e347c4

Remove these two lines, and everything will work again! Even if you have no .htaccess files in your folders, check again, because there are one now.  There were a hack January 24, 2010 that caused this on a lot of sites over the world! In a lot of folders containing php files, there is now also a .htaccess file with these two lines, making your site only show the 404 page. Not only on WordPress sites, I found at least one OsCommerse site that had been hacked the same way here! I contacted my web host for asking if they knew where this came from, but they were still searching. I will put an update if they find out where this came from.

But until that, write in the comment field if you know what it is about, and remove the lines or the .htaccess file so that the page works again.
Advertising

Download new responsive WordPress template

New responsive WordPress template with big call-to-action-areas, header-slider and different color-themes. It is built on Bootstrap and named Strap Them Boots On. Read more and download!

The one writing here:

Important information

This is the search engine optimization (SEO) and web tactics webiste/blog for Jonathan Björkskog, working at and co-owning Genero Digital Agency, a digital advertising agency based in Helsinki, Finland. If you searched for my Swedish blog, you find it here: jonathanbjorkskog.se.

That's one of my passions.

If you were searching for the other one, kitesurfing, you should check out my kitesurfing blog instead.

Follow on Facebook

Head over to the wall and send me all your questions about Facebook, SEO, or any other awesome topic on the internet!

Premium SEO-Plugin

Brian D. Hawkins about SEOPressor:

It’s almost as if SEOPressor took those features from my checklist. I guess I’m old school but I have a checklist that I use when writing new posts. It’s pretty cool that SEOPressor helps automate some of those tasks and the check/remind feature is very nice. As usual I love your presentation.

http://hotblogtips.com/about

Click Here to Download
SEOPressor
Read my SEOPressor review