• Hide My WP + WP Rocket + Nginx Server

    Здравствуйте! у меня не работает Hide My WP + WP Rocket + Nginx Server

    по этой инструкции добавлена строка в nginx.conf
    https://hidemywpghost.com/how-to-setup-hide-my-wp-on-nginx-server/

    все работает хорошо без без включения WP Rocket.

    когда я включаю WP Rocket, то в настройках Hide My WP по инструкции

    https://hidemywpghost.com/how-to-use-wp-rocket-with-hide-my-wp-ghost/

    прописываю

    /core/cache/min/1/wp-content/ => /core/cache/min/1/core/

    и в коде сайта получаю такие ссылки

    
    <link data-minify="1" rel='stylesheet' id='font-awesome-css'  href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news-byte-premium/library/fonticons/font-awesome.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='iksm-public-style-css'  href='https://1111111111.com/core/cache/min/1/core/plugins/iks-menu-pro/assets/css/public.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='lightGallery-css'  href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news-byte-premium/premium/css/lightGallery.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='hoot-style-css'  href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news-byte-premium/style.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='magnb-hootkit-css'  href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news-byte-premium/hootkit/hootkit.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='hoot-wpblocks-css'  href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news-byte-premium/include/blocks/wpblocks.css' media='all' />
    

    все эти ссылки 404 Not Found и сайт плохо работает, то есть функционал плагинов не работает, а внешний вид без css плывет

    и также получается что название тем и плагинов не скрывается. Если отключить WP Rocket то все работает и названия тем и плагинов скрывается.

    Что мне делать ? я не могу разобраться как совместить Hide My WP + WP Rocke

    ++++++++++

    Hide My WP + WP Rocket + Nginx Server
    
    Hello! Hide My WP + WP Rocket + Nginx Server doesn't work for me
    
    this instruction added a line to nginx.conf
    https://hidemywpghost.com/how-to-setup-hide-my-wp-on-nginx-server/
    
    everything works well without without including WP Rocket.
    
    when I turn on WP Rocket, then in the settings Hide My WP according to the instructions
    
    https://hidemywpghost.com/how-to-use-wp-rocket-with-hide-my-wp-ghost/
    
    prescribing
    
    /core/cache/min/1/wp-content/ => /core/cache/min/1/core/
    
    and in the site code I get such links
    
    <link data-minify="1" rel='stylesheet' id='font-awesome-css' href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news- byte-premium/library/fonticons/font-awesome.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='iksm-public-style-css' href='https://1111111111.com/core/cache/min/1/core/plugins/iks- menu-pro/assets/css/public.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='lightGallery-css' href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news-byte- premium/premium/css/lightGallery.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='hoot-style-css' href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news- byte-premium/style.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='magnb-hootkit-css' href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news- byte-premium/hootkit/hootkit.css' media='all' />
    <link data-minify="1" rel='stylesheet' id='hoot-wpblocks-css' href='https://1111111111.com/core/cache/min/1/core/themes/magazine-news- byte-premium/include/blocks/wpblocks.css' media='all' />
    
    all these links are 404 Not Found and the site does not work well, that is, the functionality of the plugins does not work, and the appearance without css floats
    
    and it also turns out that the name of themes and plugins is not hidden. If you disable WP Rocket, then everything works and the names of themes and plugins are hidden.
    
    What should I do ? I can't figure out how to combine Hide My WP + WP Rocke
    • This topic was modified 2 years, 5 months ago by Yui.
    • This topic was modified 2 years, 5 months ago by Yui. Reason: formatting
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author John Darrel

    (@johndarrel)

    Hi @womanwp,

    After the URL Mapping is added by Hide My WP Ghost when WP Rocket is detected, all you need to know if to reload Nginx to register the changed paths.

    Another solution is to switch off URL Mapping from Hide My WP > Overview and those paths will not be changed when WP Rocket is detected.

    Hope this helps,
    John

    Thread Starter womanwp

    (@womanwp)

    does not work for me, watch this video https://youtu.be/rytziC6Luoc

    Plugin Author John Darrel

    (@johndarrel)

    I see. We will run some tests and come back with a solution.

    Until then, switch off URL Mapping from Hide My WP > Overview

    John

    Plugin Author John Darrel

    (@johndarrel)

    Please try version 5.0.15. We did some tests and URL Mapping works well on Nginx servers.

    https://downloads.www.ads-software.com/plugin/hide-my-wp.5.0.15.zip

    We also fixed the double slash issue for WP Rocket URL Mapping.

    After the upgrade, go to URL Mapping and delete the records and save the settings.

    Restart the Nginx server and test the frontend.

    Let me know if it’s working.

    Best, John

    Thread Starter womanwp

    (@womanwp)

    thanks, it worked, only in this link the name of themes and plugins is not hidden

    here is an example
    /core/cache/min/1/core/plugins/iks-menu-pro/assets/css/public.css
    /core/cache/min/1/core/themes/magazine-news-byte-premium/premium/css/lightGallery.css

    it can be seen that the link was created by the iks-menu-pro plugin and the theme magazine-news-byte-premium

    if you disable WP Rocket, then all plugin and theme names are hidden.

    or should I manually create each combination for each plugin ?

    /core/cache/min/1/wp-content/iks-menu-pro/ => /core/cache/min/1/lib/menu/

    Plugin Author John Darrel

    (@johndarrel)

    Good, try following the settings from this tutorial:

    https://hidemywpghost.com/how-to-use-wp-rocket-with-hide-my-wp-ghost/

    We have used these settings to improve the speed and hide the plugin names and files.

    John

    Thread Starter womanwp

    (@womanwp)

    WP Rocket is being updated and is now Version 3.11.3 and you have instructions https://hidemywpghost.com/how-to-use-wp-rocket-with-hide-my-wp-ghost/ for older versions of WP Rocket.

    for example, in your screenshot you can see the Mminfy CSS files setting, but it has been gone for a very long time, so the instruction is also outdated

    also WP Rocket has new settings that don’t allow CSS and JS merging

    1. Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance.
    2. JavaScript asynchronous loading eliminates page rendering problem and speeds up loading time. Read more https://docs.wp-rocket.me/article/1265-load-javascript-deferred/?utm_source=wp_plugin&utm_medium=wp_rocket
    3. Speeds up the site by delaying the loading of JavaScript files until the user performs an action (scroll, click). Read more https://docs.wp-rocket.me/article/1349-delay-javascript-execution/?utm_source=wp_plugin&utm_medium=wp_rocket
    4. HTTP/2 – Combining JavaScript files reduces the number of requests to the HTTP server. Not recommended for HTTP/2 sites

    if you do not use these settings, then the site works much slower. Can you modify Hide My WP to work with WP Rocket without combining CSS and JS files?
    because if you combine them, the site works much slower than with the new features of WP Rocket. and when working with HTTP / 2, it is not recommended to do the union at all.
    but I, like everyone else, have HTTP / 2 now and I don’t need to merge files, on the contrary, they need to be divided and small.

    I want to buy your pro version, but first you need to understand everything will work correctly and quickly

    watch the video to make it clear, I just use google translator, he doesn’t translate some moments correctly

    Plugin Author John Darrel

    (@johndarrel)

    Hi,

    Thank you for letting us know.

    I checked the same version 3.11.3 and see the Combine CSS and JS options from WP Rocket. Note that I tested on an Apache server.

    It could be different on other server types. I followed the instructions from the tutorial and it still works.

    View post on imgur.com

    We also tested with other cache plugins like Litespeed Cache and Autoptimize who have the same options to combine the CSS and JS files in case you want to hide the filenames from the source-code.

    https://hidemywpghost.com/how-to-use-autoptimize-with-hide-my-wp-ghost/

    Best, John

    Thread Starter womanwp

    (@womanwp)

    1. I have an HTTP / 2 server – Nginx Server cannot do file merging here, this is indicated by the WP Rocket instruction
    2. Have you tried enabling CSS Delivery Optimization?
    3. Have you tried enabling “Asynchronous JavaScript Loading” + “Defer JavaScript Loading”

    Thread Starter womanwp

    (@womanwp)

    /core/cache/min/1/core/plugins/easy-affiliate-links/dist/public.js not hiding plugin easy-affiliate-links
    /core/cache/min/1/core/themes/magazine-news-byte-premium/premium/library/js/jquery.waypoints.js not hiding themes magazine-news-byte-premium

    Plugin Support Peter

    (@petersquirrly)

    Cache files cannot be hidden unless you add each one to URL Mapping or combine them with a cache plugin.

    The plugin names can’t be changed in cache directories, only if it’s in the main / wp-content / plugins / directory and not in / wp-content / cache / wp-content / plugins /

    It can be used together with Autoptimize plugin that combines CSS and JS files
    https://hidemywpghost.com/how-to-use-autoptimize-with-hide-my-wp-ghost/

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Hide My WP + WP Rocket + Nginx Server’ is closed to new replies.