Destination folder already exists error in WordPress

The “destination folder already exists” message will show up in your WordPress dashboard if you try to install a theme or a plugin that already exists on the server.

To learn more about the behind the scenes of your WordPress site, please see this guide: Going Beyond WordPress Basics

But, in brief, when you install a plugin or theme, a folder on your server is created.

So if you try to upload the same plugin or theme again, there will already be a folder with the same name, and that creates a conflict – you can’t have more than 1 folder in the same location with the same name.

Read More

Remove unused JavaScript in WordPress

Most WordPress site owners will see the recommendation to “remove unused Javascript” when they run a PageSpeed test.

The technically complete solution is out of reach for most site owners, but there is an effective shortcut solution that I share below.

What does “remove unused JavaScript” mean?

JavaScript (JS) is a type of code used on website mostly for interactive elements like sliders, animations etc. Compared to CSS or images, it is much more resource intensive so it takes longer to process when your page is loading. It’s especially bad for mobile performance.

For best performance, you should aim to have as little JavaScript as possible on your site.

Loading JavaScript that isn’t even used on the page is a waste of resources and processing power, and that’s what this PageSpeed recommendation is getting at.

Read More

Improve the mobile speed of your WordPress site

If you’ve ever run a PageSpeed or other speed test for the mobile version of your site, you’ve undoubtedly been horrified by the low speed and score compared to the desktop version  of your site.

In this post I’ll explain:

  • Why mobile performance is typically worse
  • The primary cause of slow mobile pages
  • How to create mobile-specific versions of your pages
  • How to remove unnecessary files from your mobile pages

Optimizing for mobile does take a bit of extra effort since site owners are usually “retrofitting” their sites for mobile performance.

If you are starting a new site, it will be easier if you consider mobile performance from the start, and make it a priority.

Read More

Learn How to Make Your Site More Inclusive with the Accessibility Checker Plugin

Accessibility is something that I’m really into… in theory. I believe everyone should have full access to the internet no matter what challenges they face or if they are using different devices to navigate and access the web.

But in reality I have not put as much work into this as I need to. So when I received the pitch email about the Accessibility Checker plugin, I thought it was a good opportunity to figure out just how badly I’m sucking at this, and find a starting point to try to address some of the issues.

Read More

How to avoid enormous network payloads in WordPress

If you are using Google PageSpeed Insights to test your site, you’ll see this “avoid enormous network payloads” warning if the total size of your page is more than 1.6MB.

It sounds technical, but this is actually one of the recommendations that you as the site owner have the most control over. Unlike some PageSpeed recommendations, you can fix this one!

Read More