Update readme.md
This commit is contained in:
parent
ee23c0b383
commit
f934dca667
1 changed files with 27 additions and 6 deletions
33
readme.md
33
readme.md
|
@ -21,12 +21,33 @@ No: plugins/extensions system, ...
|
|||
|
||||
### For Apache:
|
||||
|
||||
* Document Root == **public** folder (recommended):
|
||||
1. Rename public/**.dist.htaccess** to public/**.htaccess**,
|
||||
2. Rename public/**index.dist.php** to public/**index.php**;
|
||||
* Document Root != **public** folder:
|
||||
1. Rename **.dist.htaccess** to **.htaccess**,
|
||||
2. Rename **index.dist.php** to **index.php**.
|
||||
Two options
|
||||
1. Document Root != **public** folder:
|
||||
* Rename **.dist.htaccess** to **.htaccess**,
|
||||
* Rename **index.dist.php** to **index.php**.
|
||||
2. Document Root == **public** folder (recommended):
|
||||
* Rename public/**.dist.htaccess** to public/**.htaccess**,
|
||||
* Rename public/**index.dist.php** to public/**index.php**;
|
||||
|
||||
**Note**
|
||||
|
||||
To determine which of these two options is yours, then immediately after uploading the engine to your site (before these changes), make two requests:
|
||||
1. your.site/public/robots.txt
|
||||
2. your.site/robots.txt
|
||||
|
||||
On one of the requests, you should see the content of the robots.txt file. Similar to:
|
||||
```
|
||||
User-agent: *
|
||||
Disallow: /adm
|
||||
Disallow: /log
|
||||
Disallow: /mod
|
||||
Disallow: /reg
|
||||
Disallow: /search
|
||||
Disallow: /userlist
|
||||
Disallow: /post
|
||||
```
|
||||
On which option you see the contents of the file, choose the option for changing the file names above.
|
||||
P.S. If you see the contents of the file in both cases, then something went wrong or you have already changed the names of the files **.dist.htaccess** and **index.dist.php**.
|
||||
|
||||
### For NGINX:
|
||||
|
||||
|
|
Loading…
Reference in a new issue