From a07bf6b64a1514ef72bb4091224bd8df621d75a9 Mon Sep 17 00:00:00 2001 From: Ajith Date: Sun, 19 Apr 2020 14:57:43 +0530 Subject: [PATCH 1/2] command added to modifiy the web server rewrites config --- docs/getting-started.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 89d228df9..903a77372 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -117,6 +117,18 @@ The MFTF does not support executing CLI commands if your web server points to `< If the Nginx Web server is used on your development environment, then **Use Web Server Rewrites** setting in **Stores** > Settings > **Configuration** > **General** > **Web** > **Search Engine Optimization** must be set to **Yes**. +or via command line: + +```bash +bin/magento config:set web/seo/use_rewrites 1 +``` + +Clean the cache after changing the configuration values: + +```bash +bin/magento cache:clean config full_page +``` + To be able to run Magento command line commands in tests, add the following location block to the Nginx configuration file in the Magento root directory: ```conf From 67afbb002ec7994784eb93d3b5c561c464f859d1 Mon Sep 17 00:00:00 2001 From: Donald Booth Date: Fri, 24 Apr 2020 09:30:48 -0500 Subject: [PATCH 2/2] Grammar --- docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 903a77372..51dabe4b5 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -117,13 +117,13 @@ The MFTF does not support executing CLI commands if your web server points to `< If the Nginx Web server is used on your development environment, then **Use Web Server Rewrites** setting in **Stores** > Settings > **Configuration** > **General** > **Web** > **Search Engine Optimization** must be set to **Yes**. -or via command line: +Or via command line: ```bash bin/magento config:set web/seo/use_rewrites 1 ``` -Clean the cache after changing the configuration values: +You must clean the cache after changing the configuration values: ```bash bin/magento cache:clean config full_page