2.30. Restricting access to the site
Restricting access to specific IPs or subnets
You can restrict access to specific IPs or subnets:
- Through section "Access restriction".
Restricting access for visitors from certain countries
You can restrict access to visitors from certain countries:
- Through section "Access restriction".
Disable site indexing by search engines
Attention!
Disabling the indexing of the site will lead to its disappearance from the search engine results
It is necessary to create a file in the root directory of the site robots.txt with content like this:
User-agent: * Disallow: /
A more detailed description of the syntax of the robots.txt file can be found on the Internet yourself.
Site stub output
Display stub (defined HTML-code) in several ways:
- Through parking page for the domain.
- Through .htaccess you can configure redirection of all requests to a specific file:
RewriteEngine on RewriteCond %{REQUEST_URI} !^/example.php$ RewriteRule .* /example.php [L]
Instead
example.php
specify the file you want to output.