Skip to content

Commit 46c69f5

Browse files
authored
Merge pull request #678 from ajithkumar-maragathavel/web-server-rewrites
Command added to modifiy the web server rewrites configurtion
2 parents d890e05 + ee2b7ac commit 46c69f5

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 @@ The MFTF does not support executing CLI commands if your web server points to `<
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+
You must 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)