Stuff...

Snippet

Remove Yoast WordPress SEO plugin’s search schema markup from the WordPress head

Add this to your theme’s functions.php to remove the search schema that the Yoast WordPress SEO plugin puts in the WordPress head. Particularly if you’re not using the WordPress search on the site!

Read more >>


Snippet

Remove WordPress emoji scripts from head

Removes the new emoji scripts which are in the head from WordPress 4.2 up. Put this in your theme’s functions.php

Read more >>


Post

Dropbox sync folder outside dropbox folder on linux debian

If you have a folder/directory that resides outside of the Dropbox folder you can still sync it to Dropbox. You need to create a symlink between the folders. To do this: 1 – Go to the dropbox directory you want to have the external directory linked to cd /path/to/dropbox/directory 2 – Create the symlink to […]

Read more >>


Post

Common SEO Snippets & Info

No index a webpage: http://www.robotstxt.org/meta.html robots.txt examples Disallow all User-Agent: * Disallow: / Allow all User-Agent: * Disallow: Standard WordPress robots.txt User-Agent: * Disallow: Note: due to Google now rendering pages using all css and javascript, it’s probably not a good idea to Disallow: /wp-content/plugins/ any more http://www.robotstxt.org/robotstxt.html Meta Description Length: 923px 156 characters http://www.screamingfrog.co.uk/page-title-meta-description-lengths-by-pixel-width/ […]

Read more >>


Post

Windows Software for Web Developers/Designers/SEOers

Ok, work in progress, but I am rebuilding my Windows PC. I am getting rid of Windows 8.1 as I simply can’t live with it anymore, I’ve tried, but it’s no good I want to go back to Windows 7. Now rebuilding this Windows PC is not something I’m doing on a whim, it’s a […]

Read more >>


Snippet

Disable All WordPress Automatic Background Updates

To completely disable all types of automatic updates, core or otherwise, add the above to wp-config.php file:

Read more >>


Post

Linux rm command for removing files in directories

Delete files from a directory: rm [options..] [file|directory] -f Remove all files in a directory without prompting the user. -i Interactive. With this option, rm prompts for confirmation before removing any files. -r (or) -R Recursively remove directories and subdirectories in the argument list. The directory will be emptied of files and removed. The user […]

Read more >>


Post

Upgrade Google Chrome in Linux Debian

How to upgrade just Google Chrome in Linux (Debian) To upgrade Google Chrome to the latest stable version: sudo apt-get –only-upgrade install google-chrome-stable Might need to kill all instances of Chrome, to kill all instances of Chrome: sudo pkill -15 google-chrome

Read more >>


Post

Setting WordPress File/Folder Permissions in Linux Terminal

To set the WordPress file and folder permissions in Linux terminal: Go to the WordPress directory: cd /path/to/wordpress/ Change all directories to 755: sudo find . -type d -exec chmod 0755 {} \; Change all files to 644: sudo find . -type f -exec chmod 0644 {} \;

Read more >>


Post

htaccess redirects

List of some basic htaccess redirect rules

Read more >>