How to enable GZIP compression on Apache

Enable GZIP compression on Apache

pagespeed-magento-2

The instructions and code below will work on Apache. If they are not working there is another way that may work for you. If the above code did not seem to work, remove it from your .htaccess file and try this one instead…

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

This is working on the server now!

Magento WYSIWYG is not loading

The solution is (using filezilla)

  1. Go to: / js / mage / adminhtml / wysiwyg / tiny_mce / plugins / magentowidget
  2. Copy the file to the desktop: editor_plugin.js
  3. Go to: / js / mage / adminhtml / wysiwyg / tiny_mce / plugins /
  4. Create a directory called: magentotypo
  5. Paste the file into the directory magentotypo: editor_plugin.js

Magento “Indexers are Invalid”

magento-indexing-problem

After installing Magento, you have to take care of the “Indexers are invalid” problems.

To reindex in magento 2, go to the CLI and then the root folder of your magento installation and run the below command :

php bin/magento indexer:reindex

This will re-index all components of Magento

* Will find a way to make a automatic Cron job!