PHP: 301 Redirect

In PHP, you can use header function and create 301 redirect. Here is a sample snippet. Update: The code below is an older version of this post. This will redirect the PHP page you have added this into example.com, you can change example.com to any domain you prefer, you can do the same to file … Read more

So Clean

I created a clean and simple theme for Ghost blogging platform, here are a few screenshots. You can install it by downloading the zip and placing the folder in. /content/themes/ You have to restart Ghost and go to the settings panel and choose So Clean as the theme. If you find a bug in the … Read more

Homebrew on Mac

Homebrew is a package manager written in Ruby for Mac OS X which lets you install and setup packages that are not part of the system or need come from a different source. Homebrew is commonly used by developers of all types to replace outdated system packages or install will lesser or no hassle, Homebrew … Read more

Lightweight WordPress setup

WordPress is the most popular CMS used by many websites; it is written in PHP which makes it an ideal choice for most people. It offers a lot of features and an easy to use backend. But it performs well until the MySQL database is small and your WordPress setup does not live on too … Read more