How to avoid duplicate content using .htaccess
If domain.com and www.domain.com has same content, Google will think it as duplicate content. However, you can use .htaccess to avoid duplicate content. Solution is to redirect your visitor to one of...
View ArticleHow to remove Yahoo connections?
Many people asking me how to remove Yahoo connections and they wan to remove the connections from their Messenger as well. Just a quick notes, once the Yahoo connection is removed you will no longer...
View ArticleHow to block .log file using in .htaccess
log file normally contain some sensitive information about a website. it’s good to block .log file from being access by visitor. If log file is not block, hacker might use the log file content to...
View ArticleHow to remove apache test page in CentOS
After you install apache web server in CentOS and point your browser to http://localhost you will see a Apache 2 Test Page powered by CentOS. You can disable or remove this apache test page from the...
View ArticleHow to remove Powered By Prestashop footer link
A friend ask me how to remove the “Powered by Prestashop” link from the footer of his site. After some study, i realize that “Powered by Prestashop” link is manage by a module and not hard coded within...
View ArticleHow to check Zimbra Version without ssh access?
if you dont have ssh access to zimbra server and wanted to know which version of zimbra you are running, here’s a trick for you to check your zimbra version. To check Zimbra version without ssh, follow...
View ArticleHow to hide apache2 version number in error page
It’s good to hide the apache2 version number from outsider. Especially hiding apache2 version number in all the error pages. Hackers used to collect all this information before they launch any attack....
View ArticleSymfony: PHP Fatal error: Call to a member function setData()
I just setup a symfony app my new redundancy server but it show “PHP Fatal error: Call to a member function setData()” in my apache error log. What i did is just restore the source code from my...
View ArticleHow to migrate mail from CPanel to Google App Mail?
Months ago, i’ve migrated my mail from CPanel to Google App Mail and it’s satisfactory. I suggest you migrate your mail from CPanel to Google App Mail if you host your own domain and rely heavily on...
View ArticleHow to whitelist email address in Google App Mail (Free Edition)
I’ve been looking for way to whitelist email address in Google App Mail (free edition) for months and finally i found it! Many posts saying that Google App Mail (Free edition) doesnt come with...
View Articlephpmyadmin disable 1440 timeout with auto login
I’m running phpmyadmin in my dev server and i always encounter phpmyadmin timeout after 1440 seconds. To disable the phpmyadmin timeout after 1440 seconds, follow the steps below:- Open your...
View ArticleContact Form 7: Clear all field except specific after submission
Just had a job in WordPress and Contact Form 7. My client required some fields to have default value for all the time. However, whenever user submit the form, CF7 will clear all the field once the...
View ArticleWordPress: add javascript event after widget save
I’m writing a widget that uses color picker, whenever widget save the color picker will went missing. if i can add an event after the widget saved, then this problem can be solved easily. This is...
View ArticlePrestashop: How to disable ajax add to cart?
By default, Prestashop will turn on the ajax add to cart feature. If you do not like the ajax feature or the ajax having conflict with other script or any other reason, you can disable the ajax add to...
View Article15GB of Online Cloud Storage for FREE!
There are many online cloud storage out there in the market like Dropbox – Free 2GB, SugarSync – Free 5GB and etc. Most of them only provide Free 5GB or less storage upon registration. If you can refer...
View ArticleBootstrap 3: how to use media queries
Recently i’m modifying a someone else Bootstrap 3 theme and need to do some layout customization for different screen size. First thing came in mind is to use media queries. Since it’s using Bootstrap...
View ArticleZoho Mail: Free email hosting for your custom domain
Years ago Google and Microsoft already announce discontinue the free email hosting for custom domain. If you host your custom domain email with Google and Microsoft then probably you are moving to...
View ArticlePrestashop 1.5 – How to enable add to cart button at Home Featured Product?
Recently there is a request to edit a old Prestashop 1.5 site. The request is to add the add to cart button at the home featured product. That particular prestashop site is quite old and did not...
View ArticleBootstrap 3: Responsive image align center
If you are using Bootstrap 3, you might come into a problem where you can use .text-center to align text to center but not image. There are many different work around to solve this issue including...
View ArticleSymfony 1.4 – Customize Admin Generator listing to show data from foreign tables
If you are using admin generator in symfony 1.4, i bet you will have the problem to customize admin generator listing to show data from foreign table. It’s common for us to display data from different...
View Article