Админка HTTPS — некорректно отображается
-
Решил сделать новый сайт на WP, но сразу же возникала проблема с переходом на https.
После установки сертификата SLL (переадресацию спецом не ставил) на http админка отображается корректно, а вот на https выдает:40Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure script '<URL>'. This request has been blocked; the content must be served over HTTPS. upload.php:1 Mixed Content: The page at 'https://artronix.com.ua/wp-admin/upload.php' was loaded over HTTPS, but requested an insecure image 'http://2.gravatar.com/avatar/2efeee52b570683be40e21a7e5f5525c?s=26&d=mm&r=g'. This request has been blocked; the content must be served over HTTPS. upload.php:1 Mixed Content: The page at 'https://artronix.com.ua/wp-admin/upload.php' was loaded over HTTPS, but requested an insecure image 'http://2.gravatar.com/avatar/2efeee52b570683be40e21a7e5f5525c?s=64&d=mm&r=g'. This request has been blocked; the content must be served over HTTPS. upload.php:215 Mixed Content: The page at 'https://artronix.com.ua/wp-admin/upload.php' was loaded over HTTPS, but requested an insecure image 'http://artronix.com.ua/wp-content/plugins/http-https-remover/analyst/assets/img/shield_question.png'. This content should also be served over HTTPS. upload.php:317 Uncaught ReferenceError: jQuery is not defined at upload.php:317 upload.php:377 Uncaught ReferenceError: jQuery is not defined at upload.php:377 upload.php:384 Mixed Content: The page at 'https://artronix.com.ua/wp-admin/upload.php' was loaded over HTTPS, but requested an insecure image 'http://artronix.com.ua/wp-content/plugins/http-https-remover/analyst/assets/img/pencil.png'. This content should also be served over HTTPS. upload.php:389 Mixed Content: The page at 'https://artronix.com.ua/wp-admin/upload.php' was loaded over HTTPS, but requested an insecure image 'http://artronix.com.ua/wp-content/plugins/http-https-remover/analyst/assets/img/smile.png'. This content should also be served over HTTPS. upload.php:533 Uncaught ReferenceError: jQuery is not defined at upload.php:533 upload.php:540 Mixed Content: The page at 'https://artronix.com.ua/wp-admin/upload.php' was loaded over HTTPS, but requested an insecure image 'http://artronix.com.ua/wp-content/plugins/http-https-remover/analyst/assets/img/shield_success.png'. This content should also be served over HTTPS. upload.php:646 Uncaught ReferenceError: jQuery is not defined at upload.php:646 upload.php:1999 Uncaught ReferenceError: wp is not defined at upload.php:1999 at upload.php:2000 upload.php:2044 Uncaught ReferenceError: wp is not defined at upload.php:2044 at upload.php:2045 upload.php:2056 Uncaught ReferenceError: wp is not defined at upload.php:2056 at upload.php:2057 upload.php:2064 Uncaught ReferenceError: wp is not defined at upload.php:2064 at upload.php:2065 upload.php:2078 Uncaught ReferenceError: wp is not defined at upload.php:2078 at upload.php:2079 upload.php:2090 Uncaught ReferenceError: wp is not defined at upload.php:2090 at upload.php:2091 upload.php:2104 Uncaught ReferenceError: wp is not defined at upload.php:2104 at upload.php:2105
Сам сайт без учета админки на https работает нормально.
Переустанавливал раз 20. Пробовал разные плагины, в базе менял http на https или просто на //, прописывал в wp-config.php. Ничего не помогает. Либо же выдает циклическую переадресацию при ручной смене адреса в настройках или некоторых плагинах.
На этом же хосте есть мой другой сайт, который настраивал на https год назад — и все работает нормально. Но теперь если ставишь сразу свежий движок 5.5.1 старые методы не работают вообще.
Подскажите пожалуйста, как безболезненно создать свежий сайт WP на https без глюков и ошибок?
- Тема изменена 3 года, 11 месяцев назад пользователем .
- Тема изменена 3 года, 11 месяцев назад пользователем . Причина: please use CODE button for code formatting
Страница, с которой нужна помощь: [войдите, чтобы увидеть ссылку]
- Тема «Админка HTTPS — некорректно отображается» закрыта для новых ответов.