Answer the question
In order to leave comments, you need to log in
Where can site redirects to another domain be set?
WordPress site redirects to another address - once someone set a redirect, now it needs to be removed. When we go to the main address, there is a 301 redirect to another - the redirect comes with the first response from the server.
1. There is no redirect in the .htaccess file.
2. The site files do not contain the address to which the redirect occurs (I searched directly by searching through the files).
3. In the domain settings (at the registrar) there are no redirects either.
4. The hosting settings remained (hosting on ISP Manager), I didn’t find redirects there either, support is silent.
Where else can there be redirects, maybe I'm missing something?
Answer the question
In order to leave comments, you need to log in
1. Server config. This can be .htaccess in the root of the project, as well as the configuration of the virtual host itself. It may well turn out that Nginx is in front of Apache, then look at its config.
2. If item 1 is by - look wp-config.php, WP_HOME and WP_SITEURL constants
3. If item 2 is by - constants are not defined, then we look in the database, wp_options table, options with the same names ).
4. If everything is ok in the database, we try to add the above mentioned constants to the config and specify the necessary values there.
5. If all this did not help, look for the word redirect throughout the code.
and look at the logs on the server?
>> The address does not appear anywhere in the site's files, but did you
look in the database?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question