Archive for the ‘WordPress’ Category

Error 404 on all posts and pages

Sunday, June 8th, 2008

Error 404 means Page Not Found, this problem has been bothering me for quite a while.

Everything is running smooth except when u click into the Blog Entry/Post/Pages.

Instead of the content you saw displayed perfectly on the frontpage, you will see this:

Error 404 Page Not Found

Before I realized the root of the problem, I tried so many methods to get rid of that 404:

Remove and Replace EVERY SINGLE WordPress File, Change permission of directories…

Blek, I still get the same error in the end.

Fortunately, I remembered the problem occurred after I change the Permalink structure setting.

Solution:

Edit your .htaccess in your WordPress root directory and add this:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Remember! Once you changed your permalinks structure, you need to add the above code to activate the rewrite engine, otherwise you will end up with plenty of 404 Not Found error pages…

HTTP Error while trying to upload image/video etc media file

Thursday, June 5th, 2008

HTTP Error when trying to upload file

I faced this problem after I upgraded to the latest Wordpress version 2.5.1~

Googled around, and I found the solution: (Thanks to LSRN94 and WordPress support forum)

It is simple. Just edit your .htaccess file in your WordPress root directory and add in the code below:

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

Many people tried this solution and solved their problem. Hope this can help you too.