E
E
epifan882019-10-04 18:19:00
htaccess
epifan88, 2019-10-04 18:19:00

There is a 301 redirect, in .htaccess it is not (wordpress) where can a redirect be buried?

I don't understand:
The content of .htaccess is almost standard, but it still sends from all domains to the technological (technical)
I bought another domain (my00.host) specially, connected it. DNS records have been updated and when loading the address, it still sends it to the technological domain.
cPanel doesn't have any redirects either.
What else can be? Obviously it's the site itself. Where can this redirection be buried?
CMS - WordPress, cPanel, hosting - regRU
connected domains:
my00.host
centrputi.site
technological:
u0810483.cp.regruhosting.ru
5d9762adeb9dc407517883.png
5d9762bbd2fee497096468.png
5d9762c0bf8ea059360292.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
epifan88, 2019-10-04
@epifan88

Forcibly disabled redirects by entering this in wp-config.php:
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
And the site immediately stopped loading with an error:
define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']); define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0810483/public_html/wp-config.php:1) in /var/www/u0810483/public_html/wp-includes/pluggable.php on line 1251
Warning: Cannot modify header information - headers already sent by (output started at /var/www/u0810483/public_html/wp-config.php:

T
tuxfighter, 2019-10-05
@tuxfighter

Cannot modify header information

https://codex.wordpress.org/%D0%A7%D0%90%D0%92%D0%...
and it's better to run right away with reg.ru...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question