[Important Enhancement] Nginx page speed rules are missing, so Elementor and other stuff will not work properly in some scenarios. #299

Closed
opened 2026-04-05 20:26:32 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @peaklabs-dev on 1/11/2024

CloudPanel version(s) affected

2.4.0

Description

When Google Nginx page speed module is enabled, Elementor editor gets an error in some environments (several of mine tested) wiche says preview could not be loaded
After a lot of debugging I found out that the page speed module is the case of the error because it is also enabled to run on the wp-admin area.

How to reproduce

Install worprdess and elementor + elementor pro and try to edit a page with and without the page speed module. With it enabled it does not work.

Possible Solution

The solution is to add an exclusion rule to the page speed module for the wp-admin area. And not just to solve the error, the page speed module should not be running in the wp-admin area anyway, so add the flowing page speed exclusion rule to the page speed module by default when installing WordPress.

pagespeed Disallow "/wp-admin/"; --> This does not work but with the right command it would.

Additional Context

What is the right command if this is not added by default for disabling page speed on wp-admin?

*Originally created by @peaklabs-dev on 1/11/2024* ### CloudPanel version(s) affected 2.4.0 ### Description When Google Nginx page speed module is enabled, Elementor editor gets an error in some environments (several of mine tested) wiche says _preview could not be loaded_ After a lot of debugging I found out that the page speed module is the case of the error because it is also enabled to run on the wp-admin area. ### How to reproduce Install worprdess and elementor + elementor pro and try to edit a page with and without the page speed module. With it enabled it does not work. ### Possible Solution The solution is to add an exclusion rule to the page speed module for the wp-admin area. And not just to solve the error, the page speed module should not be running in the wp-admin area anyway, so add the flowing page speed exclusion rule to the page speed module by default when installing WordPress. ``` pagespeed Disallow "/wp-admin/"; --> This does not work but with the right command it would. ``` ### Additional Context What is the right command if this is not added by default for disabling page speed on wp-admin?
Sign in to join this conversation.