If you are using a cPanel based hosting account and suddenly your website stopped delivering emails from form submissions or the PHP “mail” function, open
Read moreAdjusting PHP pages to work with full caching
Caching web pages speeds-up dramatically the loading time. A ready, waiting cached version is served, no load on the server, no preparation, here it is!
Read moreDrupal ubercart log shows “cURL error: Peer’s certificate issuer has been marked as not trusted by the user.” after installing wildcard SSL certificate
Recently our shopping cart (Ubercart under Drupal) stopped finalizing transactions. The orders got up to the review step, but then, instead of completing the order,
Read moreForce download of files with specific extensions
On one of my websites I listed product drawings for customers to download. These drawings were offered in different formats: PDF, Solidworks, Parasolid, DXF and
Read moreSetting up a cron job in
Linux command line
Cron is used to schedule tasks to run at specific intervals (minutes, hours, days, months…). Use SSH to access your server’s command line. Type:
1 |
crontab -l |
Moving to HTTPS with Cloudflare
Cloudflare offers many benefits: There’s the CDN which makes your site faster to reach in different locations. There’s the caching system which makes it even
Read moreRename file extensions including files in sub directories – windows command line
Leveraging the “ren” command line inside a loop makes it easy to rename all “.html” files to “.php” including files in sub directories in one
Read morePassword protect folder and subfolders using htaccess
If you wish to password protect a folder on the server and you want to use the server’s default protection do the following: We need
Read more