Licensing, Subscriptions and Legal Questions (5)

If I make a purchase, how long am I entitled to updates for?

For one year after purchase. After that, your subscription will be renewed automatically.
A one-year policy is standard in the WordPress plugins market, and allows us to have a sustainable business so that you can rely on WP-Optimize for years to come.

How many sites can I install WP-Optimize on?

The free edition of WP-Optimize can be installed on any number of single site installations.

When you purchase WP-Optimize Premium you can install onto any number (limited to the number of licences you purchase) of single or multisite WordPress installations.

What is your refund policy?

Software: We can consider refunds, at our discretion (i.e. no automatic right), based upon the particular circumstances of your case. In practice, we usually require that you have found a technical fault, and that we are given proper opportunity to verify sufficient information about any faults which you believe you have found (and that they are in WP-Optimize, not something else), and to fix them within a reasonable time period. These must in all circumstances be requested within 10 days of purchase, which we believe is sufficient time to ascertain that a purchase works.

Legalese: There are no automatic refunds for digitally-deliverable/non-tangible goods. This is standard practice in these industries, because such goods cannot be returned (unlike physical goods). It is your responsibility to read the product descriptions, verify that it meets your needs (i.e. it provides a workable solution for you) and is suitable for your product environment (e.g. that your web hosting company does not fail to meet an essential requirement). Please do not treat a purchase as trial-ware – we don’t want to push increased costs onto our genuine customers. EU customers have the legal right to a refund of digital goods which they have not yet downloaded, if requested within 14 days, and such requests will also be honoured.

For separately-purchased support services (i.e. not those bundled with software), for which you purchase support for a specific issue, if your support need turns out to be caused by a WP-Optimize defect, then we will refund you 100% of your purchase price for the support purchase.

No refunds are available for unused support purchases, or for any part of the price of a bundled software+support package (for refund purposes, those are treated as 100% software packages).

These restrictions do not affect your consumer rights. For example, if WP-Optimize’s product description states that it has a feature which in fact it does not have, then you can invoke your consumer rights.

Finally, we reserve the right to, without notice or refund, terminate any ongoing services (including support agreements or update feeds) to customers who abuse our facilities or staff.

How long will I have access to updates for?

Firstly: already-installed software can be used forever, whether you have access to updates or not.

With each purchase, access to personal support and updates to install/update to new releases of WP-Optimize is for 12 months. (As is the case with about 90% of the premium WordPress plugin market).

After 12 months, your license will be automatically renewed (subscription), granting you access to personal support and updates for other 12 months.

To repeat: if you prefer to cancel your subscription before the end of your billing period, then your installed software is unaffected – it will remain installed and you can carry on using it.

Information about Subscriptions

WP-Optimize Premium is purchased as a subscription. This means that your license will be renewed automatically (and a new order created) at the end of your billing period, unless the subscription is cancelled.

How often will I be billed?
Your account will be billed at the end of the current billing period. Currently, all subscriptions are billed annually.

How is payment taken for repeat orders?
Payment for repeat subscription payments will be processed automatically, using the same payment method.

Can I unsubscribe at any time?
Yes, you can cancel your subscription at any time from your account page.
Once cancelled, you will no longer be charged at the end of the billing period. Your licenses will expire at the end of the current billing period.

Can I be refunded if I stop using WP-Optimize before my subscription period ends?
All refunds are assessed on a case-by-case basis. Please see our refund policy for more information.

Installation (3)

Does this plugin remove all its own data after the uninstall?

Yes, the plugin removes all settings and data once uninstalled.

How many sites can I install WP-Optimize on?

The free edition of WP-Optimize can be installed on any number of single site installations.

When you purchase WP-Optimize Premium you can install onto any number (limited to the number of licences you purchase) of single or multisite WordPress installations.

Installing WP-Optimize Premium

 

  • After downloading the file, log in to your WP admin dashboard, then go to Plugins->Add New
    Add New Plugin
    …and then press the “Upload Plugin” button near the title at the top of the page…Upload 

     

     

     

     

    N.B. If your web hosting is configured with a small maximum upload limit, and WordPress says that the plugin could not be uploaded because it was too big, then you can first install this plugin, which extends WordPress’s plugin uploader with the ability to handle files above the configured PHP upload limit. Alternatively, you can install it manually instead: i.e., 1) Unzip the zip file on your computer 2) Use FTP to transfer the resulting directory “wp-optimize-premium” into wp-content/plugins (so that it becomes wp-content/plugins/wp-optimize-premium).

 

  • After the plugin has uploaded, press the link to activate WP-Optimize Premium.

 

  • If you have the free version of WP-Optimize already installed on your website, you don’t need to worry about anything as it will be automatically deactivated. You also will not need to install the free version to make WP-Optimize Premium run.

 

Optimization Questions (8)

How can WP-Optimize help you?

  • Every time you save a new post or page, WordPress creates a revision of that post or page. If you edit a post 6 times you might have 5 copies of that post as revisions. Imagine if your posts or pages are long and big. It’s a huge number of bytes that is on your MySQL overhead. Now WP-Optimize allows you to optimize and shrink your posts table by removing unnecessary post revisions from the database. As example, if you have a post which is approximately 100KB data and you have 5 revisions of that post, the total space wasted is about 500KB. And if you have 100 posts similar to it, you might have 50MB database space wasted.
  • Similar to the scenario described above, there might be thousands of spam and un-approved comments in your comments table, WP-Optimize can clean and remove those in a single click.
  • WP-Optimize reports which database tables have overhead and wasted space. It also allows you to shrink and get rid of that wasted space.

Can you help me restore my database?

I’m afraid that this is not possible. Please ensure that you make a backup of your entire database before using WP-Optimize for the first time, and when you upgrade to a major new version of it. We recommend UpdraftPlus.

Why we don’t Optimize InnoDB Tables

The process for optimizing InnoDB tables before MySQL version 5.7 is, at default, ineffective as it essentially rebuilds the entire table. However MySQL version 5.7 or greater or MariaDB is fine as this is resolved and not affected. We know some hosting companies have a configuration that will allow for correct optimization before 5.7 but that’s few and far between. However, we have implemented an override option for the user as long as they are aware of the risks.

What is/are wp_commentmeta, wp_postmeta and all the other tables mentioned in the Table information tab?

These are the database tables in your WordPress install… To find out more see the WordPress codex here: https://codex.wordpress.org/Database_Description

How often should I perform Optimization?

This is very difficult to say as every site is different… Keep an eye on the Table Information tab and you will see how the data usage grows over time. Select an appropriate schedule based on your own site. There is no one size fits all in the is case.

What savings can I expect to make?

This is a “how long is string?” sort of question. It depends completely on your site – how big it is, how many users interact on it, how long it has been running, and when you last optimised it. However, the savings and speed-ups can be substantial; it is always worth making sure that your database is optimized.

What does Optimizing mean?

Over time your WordPress database accumulates extra data such as revisions and spam comments and many more.

Removing this unnecessary data from the database will help reduce your database size and speed up your site.

The process of optimization is the removal of these unwanted/old database entries and the reorganising of the remaining data and associated indexes.

What is Lazy Loading?

Lazy loading is the technique of only loading parts of a web-page when it is visible to the user.
The parts, usually images or videos, are replaced by placeholder elements until they are needed.

The advantage of lazy loading is that the initial page load is much faster. Rather than waiting for everything on the page to load, the user can start viewing visible content quickly.

WP-Optimize gives a simple and easy method to set your images and videos to lazy load.

To Enable:

  • Open the WP-Optimize Images tab
  • Open the Lazy Load Images sub-tab
  • From here, you can enable lazy loading for both Images and Videos/Iframes

WP-Optimize Images tab->Lazy Load Images sub-tab

If you need to disable lazy loading for certain images, videos or iframes just add no-lazy class to the specific HTML element.

Troubleshooting (5)

How do I stop transient options from coming back automatically each time I clear them?

WordPress creates transient options automatically; it’s difficult to stop it from doing so. The best way to override this is to clear the transient options on a scheduled basis. For example, WordPress may create 50 transient options in a week. If you schedule WP-Optimize to clear these options on a weekly basis, you’ll have far fewer building up.

WP-Optimize does not make large savings on my database

This is rare; it’s probably because you’re with a shared web hosting company that doesn’t allow scripts to run an optimize command via SQL statements (SQL “OPTIMIZE” instruction). Please consult your web hosting company on this matter.

Table size is displayed incorrectly / Not optimizing

Please check your database for corrupted tables. That can happen, usually your web hosting company can run the repair command on the db.

Are there any bugs?

WP-Optimize is always undergoing improvements and developments and is therefore always considered ongoing work; it is impossible to rule out unforeseen situations and bugs. So we would recommend you to test WP-Optimize out on your local system and always make a backup of your database

The scheduler in my WordPress installation is not working – what should I do?

WordPress has a system for running scheduled tasks in the background. This does lots of useful things – things like clearing up internals (theent equivalent of taking out the garbage), checking for available updates, and performing actions that plugins want doing at a set time, or regularly (like optimizations!).

If you have received a notice that your WordPress scheduler does not seem to be running tasks, then this page is for you.

Firstly, if nobody has visited your site for a while, then this situation is expected. WordPress only gets the opportunity to do things when people visit pages. No pages = WordPress is never called upon = WordPress cannot kick off any background tasks. So, if your site is a development site, or has been moth-balled for some other reason, then this message is not surprising. Visit a few pages, and the message should go away. If not…

What can cause this problem?

 

1. Maintenance mode?

Firstly: is your website in maintenance mode? This disables scheduled tasks of all kinds – so turn it off first.

 

2. No visitors?

WordPress’s scheduler relies on the site having visitors. No visitors means that WordPress doesn’t run, and therefore can’t hand over to the scheduled task. If your site is in development, and you schedule a backup run for a time when all the developers are asleep, then that may be the cause for the scheduled task not running.

 

3. Is your scheduler explicitly disabled?

Perhaps your site has WordPress’s scheduler disabled in the configuration. To check manually, look for a line like this in your wp-config.php file (which is found in the root directory of your WordPress install), and remove it (or change true to false, making sure there are no quote marks around false):

define('DISABLE_WP_CRON', true);

In this case, the disabling may be something your web hosting company did intentionally, so be aware that they may re-disable it. Or, it may be something that you did intentionally, and you may have set another means of calling WordPress’s scheduler system, perhaps via your web hosting company’s control panel. In that case, the message about DISABLE_WP_CRON is to be expected – but note that it is then your responsibility to make sure that the scheduler is called frequently enough to process all the jobs scheduled on your site. No optimizations will run until the time that you have set the scheduler system to be called.

Also – note that it’s possible for DISABLE_WP_CRON to be set in a file other than wp-config.php; wp-config.php is simply the most likely (99%) place. If you have a warning about DISABLE_WP_CRON, but it is not found in wp-config.php, then it will be somewhere else – you will need to hunt for it.

 

4. Loopback connections are not working?

Some web hosting providers (one big one: Heart Internet) purposefully (though for no good reason) disable the “loop-back” connects that allows WordPress to run its scheduler. This is also the case if your website is password-protected. If loopback connections are not working (whether deliberately disabled or not), you can try this use WordPress’s alternative scheduling system – instructions here. The instructions amount to one thing: add a line anywhere in the middle of your wp-config.php file as follows (don’t add it too late in the file, or it will take no effect):

define('ALTERNATE_WP_CRON', true);

 

5. Try using a cron job

If your web hosting company gives you “shell” access and you can set up cron jobs, and if you are confident/skilled enough to use that, then that’s a great solution. Jobs run that way won’t face any time-out issues imposed by the webserver. Read more about running via the shell here.

 

6. Is your entire website password-protected?

Another cause is if your entire website is password-protected at the HTTP level (e.g. via a .htaccess file). This also prevents WordPress’s scheduler from working. You should configure your webserver to allow “loop-back” connections (i.e. connections to self), otherwise you WordPress scheduler and everything that depends upon it will be broken. If you are using Apache and .htaccess, then adding these two lines to the access control section of your .htaccess should work – after replacing a.b.c.d with your website’s IP address):

Allow from a.b.c.d
Satisfy Any

Please note: The above suggestion is just a suggestion. .htaccess configuration is a very big subject. WP-Optimize neither “supports” nor “doesn’t support” different .htaccess configurations, because .htaccess files operate at quite a different level to WordPress plugins. If you enter the correct instructions in your .htaccess file to permit access, then WP-Optimize will work. But if you are not sure of the correct instructions for your particular server, then you need to consult with either your web-hosting company or your local .htaccess guru.

 

7. Still no good?

If the scheduler’s brokenness remains and is not caused by one of the above reasons, then the problem is almost certainly with your web hosting provider. If the alternative scheduler also fails, then you need to either contact your web hosting company for support (ask them if loopback connections work, and if not, if they can enable them); or failing that find a different web hosting company. If they confirm that loopback connections are disabled and say that it is necessary for security, then this is nonsense. (A website connecting to itself can do nothing more or less than anything else connecting to the website can). In such a case, you will need to find a new hosting company in order to use any scheduled task (including WP-Optimize) within WordPress (if you want UK-based hosting, then you could consider Simba Hosting – excellent WordPress support, a 1-click installer, and will give you a 20% discount if you mention this article at sign-up time).

Pre-sales Questions (7)

How can WP-Optimize help you?

  • Every time you save a new post or page, WordPress creates a revision of that post or page. If you edit a post 6 times you might have 5 copies of that post as revisions. Imagine if your posts or pages are long and big. It’s a huge number of bytes that is on your MySQL overhead. Now WP-Optimize allows you to optimize and shrink your posts table by removing unnecessary post revisions from the database. As example, if you have a post which is approximately 100KB data and you have 5 revisions of that post, the total space wasted is about 500KB. And if you have 100 posts similar to it, you might have 50MB database space wasted.
  • Similar to the scenario described above, there might be thousands of spam and un-approved comments in your comments table, WP-Optimize can clean and remove those in a single click.
  • WP-Optimize reports which database tables have overhead and wasted space. It also allows you to shrink and get rid of that wasted space.

Is the plugin tried and tested?

Yes – WP-Optimize is WordPress’s #1 most-installed optimization plugin, with over 500,000 users and a pedigree going back over 7 years.

Can you help me restore my database?

I’m afraid that this is not possible. Please ensure that you make a backup of your entire database before using WP-Optimize for the first time, and when you upgrade to a major new version of it. We recommend UpdraftPlus.

If I make a purchase, how long am I entitled to updates for?

For one year after purchase. After that, your subscription will be renewed automatically.
A one-year policy is standard in the WordPress plugins market, and allows us to have a sustainable business so that you can rely on WP-Optimize for years to come.

How can I purchase improvements for WP-Optimize?

The base WP-Optimize plugin is free, and fully functional (it is not “crippleware” that hamstrings you unless you pay). If you want extra features, then you can buy WP-Optimize Premium, which includes all additional functionalities, plus upgrades and support for one year. If you choose Premium, you can get it conveniently and easily in our shop.

Are there any bugs?

WP-Optimize is always undergoing improvements and developments and is therefore always considered ongoing work; it is impossible to rule out unforeseen situations and bugs. So we would recommend you to test WP-Optimize out on your local system and always make a backup of your database

Is this plugin compatible with multisite?

Yes. If you have a WordPress Multisite install (and you’ll know if you do – it’s fiddly to set up), then you need WP-Optimize Premium. If an optimization plugin has not been particularly written for WordPress Network usage, then it will be insecure – it will allow every blog admin on the network to do operations on the entire network. With our WP-Optimize Premium, only “super admin” will have access to optimization operations.

General Usage (6)

Is optimizing my database safe?

Yes; optimizing is perfectly normal and safe. WordPress Optimize does not use any trickery or undocumented dangerous processes.

WordPress Optimize uses database clean-up scripts with well-defined, common MySQL commands. Nevertheless, we always recommend backups, which cover every possibility; not just database malfunctions, but hackers, human errors, etc.

How do I run WP-Optimize?

WP Admin Panel » WP-Optimize

  • Click the ‘Run Optimization’ button to run any single optimization
  • Check any number of optimization tasks and click ‘Run All Selected Optimization’
  • View Table Information to see the record count and size for your tables
  • View the settings tab to change the way WordPress Optimize will work and to schedule future (one off or regular) optimization tasks

How can I change the settings?

WP Admin Panel » WP-Optimize » settings tab

I want to schedule my optimizations to run at 3am (GMT) what do I do?

The scheduler uses the time zone set by the admin of your WordPress install so just refer to that and ensure it is correct for your time zone and make the appropriate adjustment.

Unused Images

How it works

WordPress stores images in two parts:

  • The image files are stored on the server, typically in the ‘wp-content/uploads’ directory of the site.
  • A record of the image is then stored in the database, in the Media Library. This record also includes other data related to the image, such as the image tile, description or alt-text.

Images in the Media Library are also stored in different sizes, with a separate image file on the server for each size (typically thumbnail/small/medium/large). This can cause the uploads folder to become bloated with unused image files.

When populating the list of unused images, WP-Optimize will check both these locations for images

WP-Optimize will then scan the database for each of the detected images. This includes checking any posts, pages and custom post types (such as FAQs or eCommerce products) for featured or embedded images. Any image that can’t be matched to a record in the database will then be added to the list of unused images.

Please note that certain themes or page-builders may access images in a non-standard manner, in which case the images may be flagged as unused incorrectly. We recommend double checking before deletion if you are unsure, and keep an up-to-date backup of the site.

When removing an image, both the image files and Media Library record will be deleted.

Removing Unused Images

Open the ‘Images’ tab in the WP-Optimize admin page. You should see a number of images under ‘Unused images’. These are image files, found both in the Media Library and the ‘wp-content/uploads’ directory that are not attached or embedded in any posts or pages.

Highlight 'Unused Image' tab

Note: WP-Optimize will cache this list, so will not update the list every time (to prevent unnecessary queries to the database). To make sure the list is fully up-to-date, press the ‘refresh’ button in the top right of the tab.

Highlight 'refresh button'

Select the images to remove using the check-boxes (There is also the option to select all or none), and then press ‘Remove selected images’. WP-Optimise will then delete all copies of the selected image file plus any record in the Media Library.

highlight 'Remove Unused Images' button

Removing Images by size

Please note that removing registered image sizes is for experienced users, and care should be taken that the image size in question is not used on the site.

WP-Optimize also has the option to remove image files by size. This tool shows both all registered image sizes, and image sizes that are currently not in use.

highlight 'Registered Image Sizes' section

The ‘Registered image sizes’ section shows a list of all image sizes that are present on the site. This includes sizes for images that in use. Deleting a registered image size will remove all images of that size from the uploads folder, including any that are in use.

In this case, the Media Library record will only be deleted if all copies of an image have been removed.

The ‘Unused image sizes’ section shows any image sizes that are currently not used by any images on the site.

Select any image size (from either section) that you wish to remove, and press ‘Remove selected sizes’.

We recommend taking a backup of the site before performing any optimisation with WP-Optimize. WP-Optimize integrates with our backup plugin, UpdraftPlus. If UpdraftPlus is active on the site, the option to take an automatic backup before images are removed will be displayed in the tab.