Solving 403 errors with CloudFlare

Recently I’ve switched over to using CloudFlare, for those unfamiliar it’s a proxy caching service. It caches resources from your site in several data centers. When looking over Google Webmaster Tools, I noticed every page it crawled was a 403 error. Not very conducive to having good search rankings.

After some digging the answer finally appeared on the WordPress.org forums. The Bad Behavior plugin was rejecting Google since the crawler was being proxied thru CloudFlare and had the user-agent of Googlebot but was not in the right IP address range. The solution, disable Bad Behavior. Although the plugin had always worked great in reducing the number of spam request, since CloudFlare increases security by blocking bad requests before ever reaching the server, no reason to have Bad Behavior taking up resources as well.

Posted in google, Internet, tech, wordpress | 1 Comment

WordPress Custom Headers Update for 3.4

With the upcoming release of WordPress 3.4 the focus was on improving the overall theme experience. This means changes to the dashboard and changes to the underlying code. One of the improvements was with registering custom headers, the new streamlined process no longer relied on defining constants. Now simply using add_theme_support(‘custom-header’). This alone wasn’t the end of the improvements, the new system also supports flexible height and width custom headers. Passing an array of arguments to the add_theme_support call to achieve all of this rounds out the functionality improvements.

While the improvements are welcome, as a theme author only supporting the very latest version isn’t a good practice. Backwards compatibility should be thought about until a certain point. This code below will use the new way of adding custom headers if the WordPress version is correct, and fallback to the old way of constants if not. This will allow users who are wary of WordPress upgrades, and those who always run the latest and greatest to both benefit. This is done simply by using the php function version_compare and simply comparing the wp_version variable and the version that should be supported, this case 3.4. The block before the else runs if true and the block after runs if false and an older version. The register_default_headers function is still used to give users a choice of included headers.
Continue reading

Posted in Featured, guides, tech, wordpress | 1 Comment

Simple:Press Forum to bbPress Forum Conversion

As part of a refresh on this site, the support forums have been migrated over to bbPress. There are a handful of importers available for some of the major forum software packages, but none existed for the plugin Simple:Press forum. The Simple:press forum had been used as the support forums for the WordPress theme Techozoic Fluid and other general WordPress questions.
Continue reading

Posted in guides, tech, wordpress | Tagged , , | 13 Comments

Ribbon Style Navigation Menu With No Images

Want a different type menu for your next project? A 3d ribbon style navigation menu adds some pop to a plain jane site. This site currently utilizes this type of menu, but using images and multiple containers. This technique uses some CSS3 for shading, a CSS trick called CSS triangles, and some pseudo selectors. Dropdown menus are beyond this tutorial but also compliment the menu very well. First the basic menu is structured with div container and an unordered list containing children list items.
Continue reading

Posted in guides, tech, tips | Tagged , | Comments Off on Ribbon Style Navigation Menu With No Images

Holiday Shopping Tips

During the holiday seasons countless people spend more and more money online. Online shopping is becoming more popular, for many reasons. It’s easier than fighting crowds at large stores. Many online stores run special sales during holidays. Overall it’s just a more convenient way to shop, but the convenience could also have a price. Scams and phishing attempts rise during holidays. There are a few simple steps that can be taken to reduce the risks.

  • Always be sure of the website your visiting. IE Bookmark your favorite store’s website.
  • If that email offer seems to good to be true, it usually is.
  • Always verify offers from the retailer’s website.
  • When checking out verify the payment method
  • Probably the most important is to use a good security software to protect your computer from malware that could compromise your personal information
  • Continue reading

Posted in Internet, security | Comments Off on Holiday Shopping Tips