Skip to content

Commit a07bf6b

Browse files
command added to modifiy the web server rewrites config
1 parent 65bd46c commit a07bf6b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/getting-started.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,18 @@ The MFTF does not support executing CLI commands if your web server points to `<
117117

118118
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**.
119119

120+
or via command line:
121+
122+
```bash
123+
bin/magento config:set web/seo/use_rewrites 1
124+
```
125+
126+
Clean the cache after changing the configuration values:
127+
128+
```bash
129+
bin/magento cache:clean config full_page
130+
```
131+
120132
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:
121133

122134
```conf

0 commit comments

Comments
 (0)