Ответы в темах

Просмотр 15 ответов — с 1 по 15 (всего 28)
  • В общем, всё получилось. Установил плагин по новой, удалил файлы через плагин, снёс плагин, почистил кэш. Проверил сайт в инструменте разработчика в браузере- картинки вроде не вебп. Завтра устром на сафари проверю и закрою тему, если что)

    The settings and webp-files are not removed upon disabling the plugin, but upon deleting it. However, if you have changed the cache folder to “mingled”, the webp files will be preserved when the plugin is removed.

    There is also a “Delete converted files” button on the settings screen

    The .htaccess files are btw removed upon disabling and reinserted upon reactivation

    Вот что пишет автор в темах, я не совсем понимаю, кэш я почистил

    https://wordpress.org/support/topic/not-reverting-back-from-webp/
    https://wordpress.org/support/topic/how-to-remove-all-webp-files-and-symlinks/

    так и поступил, но надежды мало на быстрое решение) разработчик просто молчит, подождём ещё немного

    • Ответ изменён 3 года, 9 месяцев назад пользователем aloalo.

    гадский плагин!

    
    # BEGIN WpFastestCache
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} =on
    RewriteCond %{HTTP_HOST} ^dom-hleba.ru
    # Start WPFC Exclude
    # End WPFC Exclude
    # Start_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=admin_big|ex_dir|market_chief
    # End_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP_HOST} ^dom-hleba.ru
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
    RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in
    RewriteCond %{HTTP:Cookie} !comment_author_
    RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /var/www/u0295085/data/www/dom-hleba.ru/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
    </IfModule>
    <FilesMatch "index\.(html|htm)$">
    AddDefaultCharset UTF-8
    <ifModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
    Header set Pragma "no-cache"
    Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
    </ifModule>
    </FilesMatch>
    # END WpFastestCache
    # BEGIN GzipWpFastestCache
    <IfModule mod_deflate.c>
    AddType x-font/woff .woff
    AddType x-font/ttf .ttf
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE x-font/ttf
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
    </IfModule>
    # END GzipWpFastestCache
    # BEGIN LBCWpFastestCache
    <FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
    <IfModule mod_expires.c>
    AddType application/font-woff2 .woff2
    AddType application/x-font-opentype .otf
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType video/webm A10368000
    ExpiresByType video/ogg A10368000
    ExpiresByType video/mp4 A10368000
    ExpiresByType image/webp A10368000
    ExpiresByType image/gif A10368000
    ExpiresByType image/png A10368000
    ExpiresByType image/jpg A10368000
    ExpiresByType image/jpeg A10368000
    ExpiresByType image/ico A10368000
    ExpiresByType image/svg+xml A10368000
    ExpiresByType text/css A10368000
    ExpiresByType text/javascript A10368000
    ExpiresByType application/javascript A10368000
    ExpiresByType application/x-javascript A10368000
    ExpiresByType application/font-woff2 A10368000
    ExpiresByType application/x-font-opentype A10368000
    ExpiresByType application/x-font-truetype A10368000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires "max-age=A10368000, public"
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache
    # сжатие 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
    #по умолчанию кеш в 5 секунд
    ExpiresDefault "access plus 1 days"
    # Включаем кэширование изображений и флэш на месяц
    ExpiresByType image/x-icon "access plus 1 month"
    ExpiresByType image/jpeg "access plus 4 weeks"
    ExpiresByType image/png "access plus 30 days"
    ExpiresByType image/gif "access plus 43829 minutes"
    ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
    # Включаем кэширование css, javascript и текстовых файлоф на одну неделю
    ExpiresByType text/css "access plus 604800 seconds"
    ExpiresByType text/javascript "access plus 604800 seconds"
    ExpiresByType application/javascript "access plus 604800 seconds"
    ExpiresByType application/x-javascript "access plus 604800 seconds"
    # Включаем кэширование html и htm файлов на один день
    ExpiresByType text/html "access plus 43200 seconds"
    # Включаем кэширование xml файлов на десять минут
    ExpiresByType application/xhtml+xml "access plus 600 seconds"
    # Нестандартные шрифты сайта
    ExpiresByType application/x-font-ttf "access plus 1 month"
    ExpiresByType font/opentype "access plus 1 month"
    ExpiresByType application/x-font-woff "access plus 1 month"
    ExpiresByType application/x-font-woff2 "access plus 1 month"
    ExpiresByType image/svg+xml "access plus 1 month"
    ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
    </ifModule>
    
    AddDefaultCharset UTF-8
    
    # 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
    
    • Ответ изменён 3 года, 9 месяцев назад пользователем Yui. Причина: please use CODE button for proper formatting

    он создает какие то правила в htaccess

    мда, коряво((( подождем еще, может кто то сталкивался

    Пока все обновятся на саафари 14…)

    Коллеги, а без бэкапа как то код почистить можно? Много изменений очень, да и не делали бэкапа.. Про сафари лажанулись. ВебП вроде копии только создает же в папке с изображениями?

    хотя амр тоже хорошо

    крч, все стало хорошо, с 7.3. пхп был не совместим плагиг амр страниц, отключил его и всё заработало.

    а теперь вообще всё сломалось) после обновления пхп в консоли)

    странно как то,всё заработало, пхп обновил до 7.3 и вообще все плагины и сам вордпресс

    Заработала только центральная страница)

    по сотальным выдает ошибку

    Not Found
    The requested URL /category/zoj/ was not found on this server.

    Apache/2.4.10 (Unix) Server at cultureoflife.ru Port 80

    Поддержка ответила вот что))

    Здравствуйте!

    Насколько я вижу, проблема возникает из-за некорректной работы php-скрипта. Прикладываю фрагмент лога ошибок:

    PHP Fatal error: require_once(): Failed opening required ‘/home/r/resurshx/cultureoflife.ru/public_html/wp-content/plugins/vkontakte-api/includes/class-factory-requirements.php’ (include_path=’.:/usr/share/php’) in /home/r/resurshx/cultureoflife.ru/public_html/wp-content/plugins/vkontakte-api/vkontakte-api.php on line 33

    Судя по всему это связано с недавними проблемами плагина vkontakte-api. Переименовал папку с плагином, сайт возобновил работу. Для решения проблемы рекомендуем обратиться в поддержку разработчика плагина или попробовать заменить его аналогичными плагинами.

    Плагин снес)

    Спасибо, вопрос решен, глючил плагин.

Просмотр 15 ответов — с 1 по 15 (всего 28)