Category: Other Internet Hosted Applications

  • Google not able to fetch robots.txt

    Recently I was getting a message from Web Master Tools, Googlebot can’t access your site! Over the last 24 hours, Googlebot encountered 87 errors while attempting to access your robots.txt. To ensure that we didn’t crawl any pages listed in that file, we postponed our crawl. Your site’s overall robots.txt error rate is 64.4%   Recommended action…

  • Forcing a site to HTTPS using .htaccess

    Occasionally you may want a site to be fully https. Especially since Google recently said that they may prefer HTTPS sites as getting a certificate is a costly exercise so spammers are less likely to adopt SSL. Within .htaccess the code is as follows RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]    

  • Forcing a page layout conditionally in Genesis

    Often it is prudent to force a page layout, especially the home page. Within Genesis, the guidance is fairly scant   <?php //* Do NOT include the opening php tag //* Force content-sidebar layout setting add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_content_sidebar’ ); //* Force sidebar-content layout setting add_filter( ‘genesis_pre_get_option_site_layout’, ‘__genesis_return_sidebar_content’ ); //* Force content-sidebar-sidebar layout setting add_filter( ‘genesis_pre_get_option_site_layout’,…

  • How to speed up a WordPress website?

    There are many ways to improve your WordPress site speed, however there are a couple of really simple and free things you can do that will increase WordPress site speed. I am talking about self hosted WordPress here of course, not if you have a blog on WordPress.com. If you are self hosting WordPress then…

  • Genesis breadcrumbs markup issues

    In certain circumstances, permitted markup for page titles breaks the Genesis breadcrumbs. In this example  the <sup> tag is being used in parent page title. This is because Genesis’ breadcrumbs uses esc_html  ( genesis/lib/classes/breadcrumbs.php ) in most cases (note that it doesn’t in all cases as the far right is rendering correctly ) One solution…

  • Adding Lightbox to Genesis

    Genesis doesn’t come with a light box as standard as the theme is designed to be built upon with child themes. Of course you can add a Lightbox by just downloading a plugin, however it is fairly easy to add the code directly to your child theme. ** note this article was written in 2015…