Take site offline with .htaccess

To take down a website or part of one, you can just point search engine spiders to the 410 status code.

.htaccess makes it very easy to flag a link as offline or gone. It’s what we’ll use to tell either google or other search engine spiders that the content that once was there is not anymore and that it is our deliberate choice.

Continue reading “Take site offline with .htaccess”

Object / Class not available in WordPress Theme files

I began digging into WordPress Theme development on a more OOP based approach, when I noticed something odd about the availability of the object you get when you write your custom theme functions as a class in functions.php.

To be fair, it’s only odd because I’ve mainly been developing in other frameworks, which handle it after different conventions.
Continue reading “Object / Class not available in WordPress Theme files”

Developing with WordPress in 30 Seconds

A quick article about how I manage to set up a WordPress installation from scratch to have a clean and up to date working and testing environment.

develop_with_wordpress_in_30_seconds

I admit it, this is a catchy title and a lie. Actually it took me 27.889 seconds to do the following: Continue reading “Developing with WordPress in 30 Seconds”

The best quote on cross browser compatability

If Daring Fireball looks goofy in your browser, you’re likely using a shitty browser that doesn’t support web standards. Internet Explorer, I’m looking in your direction. If you complain about this, I will laugh at you, because I do not care. If, however, you are using a modern, standards-compliant browser and have trouble viewing or reading Daring Fireball, please do let me know.

Continue reading “The best quote on cross browser compatability”