Running WordPress in different directory

Table of ContentsExamples Running a blog from /blog where the directory is /wp/wordpressMageStack allows you to run WordPress in a manner of different ways, if you simply want to run your blog from a directory called /blog - see running … Continue reading

Allowing web access to forbidden directories

Table of ContentsExamples Granting access by IPBy default, the security rules on MageStack prevent web access to important Magento directories. For example, if you need to access a file via a web browser in ./var/export - you'll see a 403 … Continue reading

Patching SUPEE-9767 v2

Table of ContentsWhere to download Dependencies Symlinks SUPEE-9767 v1 Applying the patch Known issues Form KeysSUPEE-9767 v2 is an important security update for Magento to address remote code execution and SQL injection vulnerabilities. This patch update provides bug fixes for … Continue reading

Using Magento command line download tool

Table of ContentsUsing MDA Setting custom id/token for personalised downloads Examples Downloading Magento CE Downloading missing patches for Magento CE Downloading Magento EE Releases and PatchesMagento provides downloads at https://magento.com/tech-resources/download - but this resource is both protected by a login … Continue reading

Implementing Elasticsearch

Table of ContentsDefault configuration settingsThere is native support for Elasticsearch on MageStack. Default configuration settings The configuration settings for Magento are as follows Host: search1.i Port: 9200

Embedded variables

Table of ContentsVariables Environment Magento Specific MageStack Environment Caching Access & Security ContentMageStack features a number of built in Nginx variables to control different behaviours, be it caching, security settings and much more. Some options can be changed to adjust … Continue reading

Implementing cron for Magento 2

Table of ContentsSetting up the crontab ExamplesUsing the enhanced cron.sh wrapper Magento 2 does not come supplied with a cron.sh wrapper, and the default Magento cron documentation has some limitations, as it doesn't support email alerts or logging; and there … Continue reading

Implementing Varnish on Magento 2

Table of ContentsStore Configuration Nginx Configuration Dynamic Content Semi-Static Content Static ContentMagento 2 comes with native Varnish support, so it is not necessary to install any supporting dependencies like on Magento 1. You just need to add the respective configuration … Continue reading

Implementing Redis on Magento 2

Table of ContentsCache and full page cache storage Magento 2 versions lower than 2.3.4 Magento 2.3.5+ to 2.4.8 Magento 2.4.9 and greater Session storageMagento 2 comes with native Redis support, so it is not necessary to install any supporting dependencies … Continue reading

Patching SUPEE-9767

Table of ContentsWhere to download Dependencies Applying the patch Known issues Registration on Checkout failure Form KeysSUPEE-9767 is an important security update for Magento to address remote code execution and SQL injection vulnerabilities. Magento received reports that customer registration after … Continue reading