Restricting access to specific IPs or subnets
You can restrict access to specific IPs or subnets:
-
Through the section "Access limitation».
-
Via .htaccess... Examples of directives can be found here.
Restricting access for visitors from certain countries
You can restrict access to visitors from certain countries:
-
Through the section "Access limitation».
-
Via .htaccess... Examples of directives can be found here.
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:
-
Via parking page for the domain.
-
Via .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.