• Resolved ujoshi333

    (@ujoshi333)


    I am testing some new software on a demo site before we implement on our live one.
    The software: https://codecanyon.net/item/hide-my-wp-no-one-can-know-you-use-wordpress/4177158

    There is some code i need to add to htaccess.

    ” Add these lines right before: RewriteCond REQUEST_FILENAME} !-f. Next you may want to change htaccess permission to read-only (e.g. 666)’ “

    Which custom code box does this go into?
    …..
    # BEGIN Hide My WP

    RewriteRule ^lib/(.*) /pns-home/wp-includes/$1?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^file/(.*) /pns-home/wp-content/uploads/$1?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^modules/(.*) /pns-home/wp-content/plugins/$1?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^axiom/main\.css /pns-home/?style_wrapper=1&qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^axiom/style.css /pns-home/nothing_404_404?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^axiom/(.*) /pns-home/wp-content/themes/specular/$1?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^ajax /pns-home/wp-admin/admin-ajax.php?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^inc/(.*) /wp-content/$1?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^(readme\.html|license\.txt|wp-content/debug\.log|wp-includes/$) /pns-home/nothing_404_404?qTw_axiom-secure=1234 [QSA,L]
    RewriteRule ^(((wp-content|wp-includes)/([A-Za-z0-9\-\_\/]*))|(wp-admin/(!network\/?)([A-Za-z0-9\-\_\/]+)))(\.txt|/)$ /pns-home/nothing_404_404?qTw_axiom-secure=1234 [QSA,L]

    # END Hide My WP

    ……………………………………….
    ‘In rare cases you need to configure it manually.
    If you use BulletProof Security plugin first secure htaccess file using it and then add below lines to your htaccess file using FTP.
    You may need to re-configure server whenever you change settings or activate a new theme or plugin.
    Add these lines right before: RewriteCond REQUEST_FILENAME} !-f. Next you may want to change htaccess permission to read-only (e.g. 666)’

    https://www.ads-software.com/plugins/bulletproof-security/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AITpro

    (@aitpro)

    If you use BulletProof Security plugin first secure htaccess file using it and then add below lines to your htaccess file using FTP.

    This statement above is incorrect. Use BPS Custom Code to save your custom htaccess code permanently instead of temporarily by editing your root htaccess file directly using FTP, which will not save your htaccess code edits/customizations/additions permanently.

    To add your custom code for this plugin do these steps:
    1. Go to the BPS htaccess File Editor page, click on the Your Current Root htaccess File tab, scroll down in your Root .htaccess file code until you see this .htaccess code below (will look the same or very similar, but may not look exactly the same as the code shown directly below).

    # WP REWRITE LOOP START
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    2. Copy your # WP REWRITE LOOP START code to this BPS Root Custom Code text box: CUSTOM CODE WP REWRITE LOOP START
    3. After you have copied your WP Rewrite Loop Start .htaccess code then add the custom code for this plugin. Your code should look like this example below.
    4. Click the Save Root Custom Code button.
    5. Go to the BPS Security Modes page, click the Create secure.htaccess File AutoMagic button and activate Root folder BulletProof Mode.

    # WP REWRITE LOOP START
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # BEGIN Hide My WP
    
    RewriteRule ^lib/(.*) /pns-home/wp-includes/$1?qTw_axiom-secure=1234 [QSA,L]
    ...
    ...
    ...
    Plugin Author AITpro

    (@aitpro)

    Assuming all questions have been answered – thread has been resolved. If the issue/problem is not resolved or you have additional questions about this specific thread topic then you can post them at any time. We still receive email notifications when threads have been resolved.

    Thread Start Date: 10-9-2015 to 10-10-2015
    Thread Resolved/Current Date: 10-12-2015

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide My WP plugin / software & BP’ is closed to new replies.