| | | |

Preventing WordPress Automatic Updates From Deleting Custom Settings (Themes and Plugins)

WordPress uses a drop in / replacement method for updating. This can be a disaster for sites with custom configurations like themes or custom site specific information like plugins caches or translators. Here is my solution to fix the whole problem!

| | |

Removing all www. and redirect to no www.

I am reworking the WordPress Gamot Global Translator Plugin for my MultiSite install and I found a need to use the domain name as a file directory for my cache files. Then I though about that I will end up with two copies of my cache, one with a www and one without. I realized that I needed to groom the $_SERVER[‘SERVER_NAME’] variable but… How?