Home Forums WordPress Plugins Hide My WP theme folder change breaks css

This topic is: not resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2785
    aleshadela
    Post count: 2

    Good day,

    Using the recommended ‘Medium Privacy’ settings, the theme folder change breaks the css.

    Also, changing the wp-content/uploads/ folder breaks the image links whereas nothing shows.

    I’ve also reset the settings and tried them individually. As I have a managed wordpress host, I’ve submitted some rewrite rules already, which have been put in place.

    # BEGIN Hide My WP

    rewrite ^/lib/(.*) /wp-includes/$1 last;
    rewrite ^/file/(.*) /wp-content/uploads/$1 last;
    rewrite ^/modules/(.*) /wp-content/plugins/$1 last;
    rewrite ^/skin/(.*) /wp-content/themes/bdadirectory/$1 last;
    rewrite ^/user_submit /wp-comments-post.php last;
    rewrite ^/ajax /wp-admin/admin-ajax.php last;

    # END Hide My WP

    #2786
    aleshadela
    Post count: 2
    This reply has been marked as private.
    #2794
    Suman M.
    Post count: 12480

    Hi, please follow these steps:

    – goto HMWP >> ‘Start’ Tab >> ‘Medium Pripacy – More Compatibility’
    scheme >> click ‘Save Settings’

    – if Flywheel WP hosting uses Nginx Server, then goto “http://staging.bdadirectory.flywheelsites.com/wp-admin/options-general.php?page=hide_my_wp&nginx_config=1” and copy the lines in “Nginx Configuration” and add them to Nginx config file usually located in /etc/nginx/nginx.conf or /etc/nginx/conf/nginx.conf

    – restart Nginx server

    – if you use sub-directory for WP block you should add that directory before all of the paths (e.g. rewrite ^/yourdir/other/(.*) /yourdir/wp-includes/$1)

    #2809
    aleshadela
    Post count: 2

    Good day,

    I’ve made the changes and still am experiencing a broken css. Is it possible you can take a look for me to see if there is anything wrong?

    #2811
    Suman M.
    Post count: 12480

    Hi can you please send as an attachment the Nginx Configuration file before and after adding HMWP rules?

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

You must be logged in to reply to this topic.