Skip to content

Commit 27dd329

Browse files
ajithkumar-maragathaveltomreece
authored andcommitted
command added to modifiy the web server rewrites config
1 parent 50249bc commit 27dd329

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
@@ -121,6 +121,18 @@ MFTF does not support executing CLI commands if your web server points to `<MAGE
121121

122122
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**.
123123

124+
or via command line:
125+
126+
```bash
127+
bin/magento config:set web/seo/use_rewrites 1
128+
```
129+
130+
Clean the cache after changing the configuration values:
131+
132+
```bash
133+
bin/magento cache:clean config full_page
134+
```
135+
124136
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:
125137

126138
```conf

0 commit comments

Comments
 (0)