Answer the question
In order to leave comments, you need to log in
Nginx + GeoIP, resolve ip address from a blocked country, how?
Actually the situation.
We present the site, everyone and sundry go to the site, but the target audience is only RU. GeoIP will help us here, nothing complicated!
Suddenly! A client appears, which is located in LU, or DE, whichever is more convenient for you, with a static IP, which needs to be allowed access to this site.
But we remember that only RU addresses are valid for GeoIP, so a client from LU, or DE, is sent to the forest. The client, accordingly, begins to lay bricks to the support of the site, and the client is ordered to allow access.
Actually, the question is clear from the topic, how to allow this client, with a static IP, to get to a site that is closed to him by GeoIP and at the same time leave the entire country of the client in prohibited?!
Answer the question
In order to leave comments, you need to log in
wordpress writes dofiga where the address is in the database. Look for instructions on moving to another domain and apply it.
Try to change the url
In wp-config.php write:
define('WP_HOME','https://example.com');
define('WP_SITEURL','https://example.com');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question