Disable 404 Header Response for WordPress
I have a numbers of project running on WordPress and each of it extend the functionality of WordPress using plugin or integration with 3rd party application (which I would be able to share as for now). However, WordPress tend to send 404 header response to the browser which is may break your code or disable access to the 3rd party application.
Is Home and Not Is Page Home
Consider this Pseudocode "Is Home and Not Is Page Home", or it's PHP equivalent is_home() and !is_page("home"). Odd doesn't it? But that the only way I know of to determine if the current page is actually the blog page when you have reconfigure WordPress to load a static page as it's starting page, i.e. In the example above the starting page is Home (a static page).
Messy Day with Mod_Rewrite for WordPress
Today was like any other day, but around 1 or 2pm we had realize that all WordPress hosted in Hostvibes were inaccessible except for ChronoSight. I at first thought that it's related to either domain name or WordPress as that the main different I could see at first. We had to take a few hours to check everything out before finding out the real cause till we realized that there a problem with mod_rewrite. It was running perfectly in the past, it is suspected that our server administrator had done some Apache or PHP update that might cause this error.
To manually disable pretty permalink for WordPress, all you need to do if to are:
- Delete the
.httaccessfile. - Open your database using PHPMyAdmin or other database management application,
- Run this command
UPDATE {wp_prefix}options SET option_value='' WHERE option_name='permalink_structure' LIMIT 1; - And also
DELETE FROM {wp_prefix}options WHERE option_name='rewrite_rules'; - Now your WordPress will be able to work again using WordPress default URI style.
Busy Sunday, as always
Sunday maybe the day when most couple would go out dating but eventually that not applied in my life. I been busy with works and side projects.
My Blogsentral Invitation
I got invited! I did request an invitation to join Blogsentral a week back but I never really would thought that it would go through since I already have my own blog. Finally today, se7en gave me a personal message (PM) on Lowyat.NET Forum requesting for my e-mail address for the invitation.
You have been selected to help us test out the Blogsentral blog project.
Please reply with your email address.
Do however be advised that this is a beta project, and you will be required to blog and test out the system at a regular basis. If you just want an account for the sake of having it, please wait till the launch.Thank You.
So here it is, my new Blogsite at crynobone.blogsentral.com which I would write in malay. The content would be less serious than what we are having here and at the same time I can analyst what WordPress 2 can offer in it's system which I can use it in ChronoSight.CMS development for current and future release.