• Home
  • Cloud
    • General
    • SaaS
    • BPaaS
    • PaaS
    • IaaS
    • Other Internet Hosted Applications
      • WordPress
        • WooThemes Canvas
          • WooThemes Canvas CSS
  • About me
  • Why Badly Wired?
  • Contact

Badly Wired

Alan's technical notebook - WordPress and other stuff

You are here: Home / Archives for Tech Tips

Build and host a static website with Hugo and Google Cloud Storage

28th July 2016 by Alan Leave a Comment

WordPress is overkill for 90% of small business websites, especially if they are only every going to ask the web developer to make changes.  Static websites used to be just that, static, but now it is possible to create static websites that are simple (relatively) to update dynamically.   Hugo is a Golang project that [Read the full article…]

Filed Under: Cloud, News, Services, Tech Tips  

Google Chrome extract links

8th October 2015 by Alan Leave a Comment

Extract links from a Google Chrome page Inspect element Go to console run urls = $$(‘a’); for (url in urls) console.log ( urls[url].href );  

Filed Under: Code snippets, Google Apps for Works, Tech Tips  

Google not able to fetch robots.txt

27th January 2015 by Alan Leave a Comment

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 [Read the full article…]

Filed Under: Tech Tips, Useful Stuff, Wordpress  

Forcing a site to HTTPS using .htaccess

27th January 2015 by Alan Leave a Comment

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]    

Filed Under: Tech Tips, Useful Stuff, Wordpress  

How to speed up a WordPress website?

18th January 2015 by Alan Leave a Comment

Optimize Images for WordPress

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 [Read the full article…]

Filed Under: Tech Tips, Wordpress  Tagged: Imsanity, Optimize, Smush it

Who is anticrawler.org and is it safe

17th January 2015 by Alan Leave a Comment

who is anticrawler.org

I noticed I got referred from anticrawler.org on  my Piwik analytics. Obviously suspicions were immediately raised, but required some further investigation. The site, anticrawler.org  just has a simple request for you to add some javascript to your website. See screen shot of anticrawler.org   There is no further information, so trust level has to be [Read the full article…]

Filed Under: News, Tech Tips, Useful Stuff  Tagged: anticrawler

How to inspect element in Safari like you can in Chrome

11th January 2015 by Alan Leave a Comment

Safari Inspect Elements

When developing or tweaking a website ‘inspect element’ is an essential tool to see what is going on, especially when adjusting CSS. Chrome comes automatically with ‘right click’ inspect element, and I was trying to do this in Safari but it didn’t seem to have this feature. However, it does actually, but inspect element isn’t [Read the full article…]

Filed Under: Tech Tips, Useful Stuff, Wordpress  

Code to delete all images from WordPress or nearly all

10th November 2014 by Alan 2 Comments

The other day I had a bit of a nightmare with a plugin that looped and created multiple images, in fact thousands of them. I got bored with trying to delete them manually so wrote some code quickly. The first thing was how to write code that runs using wordpress, you can use  technique simply [Read the full article…]

Filed Under: Code snippets, Tech Tips, Wordpress  

Having a custom functions or styles per individual WordPress multisite site

17th October 2014 by Alan Leave a Comment

If you are running a multi-site and you a have common theme sometime is becomes a requirement to add specific styling and functions for an individual site or two. The traditional way is to create a child theme and apply that to the site, and this works fine, but this method allows you to create individual [Read the full article…]

Filed Under: Tech Tips, Useful Stuff  Tagged: Multisite

Moving where Gravity Forms stores uploads

17th October 2014 by Alan Leave a Comment

To migrate where Gravity Forms stores uploads, first you need to add a filter to your functions.php I needed to do this as a wanted a secure place and the default location was giving me problems. Create a directory of your server that is visible from the web, and secure it with .htaccess appropriately e.g. [Read the full article…]

Filed Under: Tech Tips, Useful Images  Tagged: Gravity Forms

« Previous Page
Next Page »

Categories

  • Applications
  • Cloud
    • General
    • Google Cloud
    • IaaS
    • Other Internet Hosted Applications
      • Wordpress
        • WooThemes Canvas
        • WooThemes Canvas CSS
    • SaaS
  • Code snippets
  • Discounts
  • Genesis
  • Google Apps for Works
  • Linux
  • News
  • SEO
  • Server setup
  • Services
  • Tech Tips
  • Uncategorised
  • Useful Images
  • Useful Stuff
  • WordPress Hosting
  • WordPress Plugins

Tags

background jobs beadcrumbs bind brandings Cache canvas Centos chrome css fail2ban Find firefox Flash fraud genesis gocardless godaddy Google google maps hackers internet explorer javascript KashFlow Linus linux Magento mapquest maps microsoft mysql news nohup php plugin plugins queens diamond jubilee replace SED SEO skype Varnish Virtualmin Webmin woothemes Wordpress

 

Affiliate and Privacy Notices

This site is free to use, but hopes to cover some costs through affiliate income, some products and links are affiliates and may earn the site advertising income.

Some affiliates use Cookies to track if you purchase from them, this allows them to apportion revenue to us you will need to refer to their specific privacy notices as to how you are tracked.

This site is a participant in the Amazon EU Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.co.uk.

  • Privacy Policy

Copyright © 2021 · Badly Wired