Помощник
|
Вопрос про склейку доменов |
snigorin
|
Сообщение
#1
|
||
|
|
||
|
|||
BLIK |
23.2.2018, 2:09;
Ответить: BLIK
Сообщение
#2
|
|
efros,В админке в общих wordpress url с https установлен? Ну и возможно, нет принудительного редиректа на https в htaccess
Вот код с hostia Для того чтобы автоматически производился редирект при посещение сайта на https://, пропишите в файле ".htaccess" следующий код:
RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] |
|
|
sosnovskij |
23.2.2018, 10:56;
Ответить: sosnovskij
Сообщение
#3
|
|
efros, поставьте редирект с http на https.
-------------------- |
|
|
snigorin
|
Сообщение
#4
|
|
|
|
|
hr_dealer |
6.3.2018, 21:33;
Ответить: hr_dealer
Сообщение
#5
|
|
|
|
|
hr_dealer |
6.3.2018, 22:42;
Ответить: hr_dealer
Сообщение
#6
|
|
пробовал ваш код
RewriteEngine On RewriteCond %{SERVER_PORT} !^443$ RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] но не работает, только закольцевалсяМОЙ файл # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress # сжатие text, html, javascript, css, xml: # <ifModule mod_deflate.c> # AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css # text/javascript application/javascript application/x-javascript # </ifModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType application/javascript "access plus 1 year" ExpiresByType text/javascript "access plus 1 year" ExpiresByType text/css "access plus 1 year" ExpiresByType text/html "access plus 7 day" ExpiresByType text/x-javascript "access 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/x-icon "access 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType image/svg "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access 1 year" ExpiresByType application/x-shockwave-flash "access 1 year" </IfModule> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/css image/webp text/html text/plain AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript text/x-js text/ecmascript application/ecmascript text/vbscript text/fluffscript AddOutputFilterByType DEFLATE image/svg+xml text/javascript application/x-font-ttf application/x-font font/opentype font/otf font/ttf application/x-font-truetype application/x-font-opentype application/vnd.ms-fontobject application/vnd.oasis.opendocument.formula-template AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml </IfModule> <IfModule mod_expires.c> <FilesMatch "\.(ico|gif|jpg|JPG|jpeg|png|PNG|swf|css|js|html?|xml|txt)$"> ExpiresActive On ExpiresDefault "access plus 1 month" </FilesMatch> </IfModule> <ifModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </ifModule> |
|
|
BLIK |
7.3.2018, 0:08;
Ответить: BLIK
Сообщение
#7
|
|
у меня схожая проблема. в прикрепленном файле скрин Яши А вы в Яндекс вебмастере переезд сайта на https версию делали? Если делали должно быть наоборот домены. Ну и в robots тоже указывать все с https пробовал ваш код Код который я давал выше ставится в самом верху. И не для всех хостингов подходит, обычно, в справке у хостингов такие коды имеются. |
|
|
Zhil_hb |
7.3.2018, 13:18;
Ответить: Zhil_hb
Сообщение
#8
|
|
|
|
|
hr_dealer |
9.3.2018, 8:05;
Ответить: hr_dealer
Сообщение
#9
|
|
|
Evgeniy3200, да такое я делал. Вроде так как вы указали.
|
|
|
||
|
Похожие темы
Тема | Ответов | Автор | Просмотров | Последний ответ | |
---|---|---|---|---|---|
Продам базу сайтов Wordpress в 16 миллионов доменов! Свежая сборка. | 19 | Boymaster | 11427 | 20.4.2024, 0:01 автор: Boymaster |
|
Форум про уток - на новом домене Форум про уток на новом домене - utkamir.ru |
0 | artmeteor | 630 | 13.4.2024, 18:26 автор: artmeteor |
|
"Извините, что ожидание затянулось, но не думайте, пожалуйста, что мы про вас забыли. Мы заводим задачи по всем обращениям и контролируем работу над ними самым тщательным образом." Вопрос |
0 | kuz999 | 1252 | 5.2.2024, 14:06 автор: kuz999 |
|
База доменов для покупки ссылок (Бурж, Аутрич) | 3 | umexa | 1556 | 5.10.2023, 22:41 автор: umexa |
|
Ищу агентов для продажи доменов .рф |
1 | Aloof | 1449 | 14.7.2023, 17:10 автор: GlazAlmaz |
Текстовая версия | Сейчас: 25.4.2024, 13:13 |