Yoast SEO: Add it to your WordPress theme header

21st September 2016 - PHP

I was looking for a way to do this for an installation where WordPress had many different header and footer templates depending on the default template used in WordPress, and it’s rather simple to Add Yoast SEO to WordPress Theme Header. If you haven’t already got Yoast, click here to get it. It will import settings from other major WordPress SEO plugins.

Continue Reading

Remove trailing slashes in NGINX & WordPress

12th May 2016 - NGINX

If you hate those trailing slashes or perhaps you’re just a fan of good SEO practices then you’ll probably want to remove the trailing slashes from your WordPress installation and edit your NGINX configuration to make sure anything WITH a trailing slash is sent permanently (301 redirect) to the page without a slash.

Continue Reading

EU Cookie Law jQuery Tool

29th August 2013 - PHP
This really simple script to adhere to the EU Cookie Law is literally a copy/paste job which informs the user about cookies and asks them what they would like to do. If they accept cookies then it removes the notification for 365 days. If they decline the use of cookies it then continuously deletes any cookies set.

Continue Reading