Home Forums WordPress Plugins Hide My WP Replace Tools

This topic is: not resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10160
    vasilis
    Post count: 6

    Hi,

    Do you have any examples or a tutorial for the Replace Tools tab and especially for the “Replace URLs”?

    Thank you in advance,
    Vasilis

    • This topic was modified 9 years, 2 months ago by vasilis.
    #10178
    Suman M.
    Post count: 12480
    #10193
    vasilis
    Post count: 6

    Thanks for the reply,

    I read the FAQs and I am interested in the following part:

    To change URLs use Replace URLs. It’s similar to Replace in HTML. The point here is the
    first part should be base on WP root directory. First part usually starts with something
    like wp-content and NOT http://domain.com or < ? php echo … ?> (!!).
    
    Here’s a sample code for Replace URLs to rename Woo Commerce assets files:
    
    wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css  => shop_lt.css
    wp-content/plugins/woocommerce/assets/css/woocommerce.css => shop.css
    wp-content/plugins/woocommerce/assets/css/woocommerce-smallscreen.css => shop-sm.css
    PS: You can change second part (like shop.css) to anything else.

    Is it possible to change the folder name?
    e.g.

    wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css =>
    wp-content/plugins/another_name/assets/css/woocommerce-layout.css

    • This reply was modified 9 years, 2 months ago by vasilis.
    #10212
    Suman M.
    Post count: 12480

    First of all we recommend you to apply these settings in HMWP:

    – in HMWP start tab, set ‘Medium Privacy – More Compatibility’ scheme and save the settings
    – in HMWP permalinks & urls tab, set “rename plugins” option to “all plugins” and save the settings

    Note: The backend login URL will be http://www.YourDomain.com/wp-login.php?hide_my_wp=1234 (you can change secret code “hide_my_wp=1234” from general settings tab)

    After applying these settings all the plugin names will be replaced automatically.
    For example:
    wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css will become something like ext/aqswde/assets/css/woocommerce-layout.css

    Now, you can replace “woocommerce-layout.css” part in this url by adding replacement like below in “replace urls”:

    wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css ==> ext/aqswde/assets/css/xyz-layout.css

    • This reply was modified 9 years, 2 months ago by Suman M..
    #10228
    vasilis
    Post count: 6

    Hi again, and thanks for the explanation. I read and followed the documentation after installation.
    I used recommended settings ‘Medium Privacy – More Compatibility’, but I faced a lot of problems. I couldn’t get access on some pages and at some point I got a message that banned me from logging in. I deleted the plugin through ftp but I still couldn’t login. I had to restore my website to a previous point and install the plugin from the beginning.
    I manually made some changes and everything works ok now.

    What I want to do is to rename any folder I want.

    eg
    Is it possible to change the assets folder name too? ext/aqswde/assets/css/xyz-layout.css

    #10249
    Suman M.
    Post count: 12480

    Good to know that it’s working for you now. Yes, you can change any text/word in the URL. Just follow the example I sent you before.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.