Title: SiteCare's Replies | WordPress.org

---

# SiteCare

  [  ](https://wordpress.org/support/users/fstab/)

 *   [Profile](https://wordpress.org/support/users/fstab/)
 *   [Topics Started](https://wordpress.org/support/users/fstab/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fstab/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fstab/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fstab/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fstab/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fstab/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/fstab/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/fstab/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Encrypt] ERROR: Registration key is already in use](https://wordpress.org/support/topic/error-registration-key-is-already-in-use/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/error-registration-key-is-already-in-use/page/2/#post-9979884)
 * I am tryin to generate a certificate, but →
    “Challenge self check failed for
   domain xyz”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP TripAdvisor Review Slider] Overall reviews](https://wordpress.org/support/topic/overall-reviews/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/overall-reviews/#post-9932251)
 * Any chance about this feature in future?
    -  This reply was modified 8 years, 8 months ago by [SiteCare](https://wordpress.org/support/users/fstab/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Parent Category AutoCheck + Category Tree Checklist] Yummi settings tab image is broken :)](https://wordpress.org/support/topic/yummi-settings-tab-is-broken/)
 *  Thread Starter [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/yummi-settings-tab-is-broken/#post-8896949)
 * Yep bro, maybe ill fix these problems, add some features and release this plugin
   under my name over here. This is only way how to fix it globally for all…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] This has been disabled](https://wordpress.org/support/topic/this-has-been-disabled-2/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/this-has-been-disabled-2/#post-8625951)
 * You have to disable this plugin and set login urls to default, it must work then
   🙂 Or try to debug what is wrong over there
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] This has been disabled](https://wordpress.org/support/topic/this-has-been-disabled-2/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/this-has-been-disabled-2/#post-8623972)
 * Check your theme files if is there 404.php file. This code is redirecting the
   query right to this 404.php
    a) i got 404.php in theme files (check the source
   code, what is presented inside) b) there is no 404.php (create one, follow the
   codex [https://codex.wordpress.org/Creating_an_Error_404_Page#Editing_an_Error_404_Page](https://codex.wordpress.org/Creating_an_Error_404_Page#Editing_an_Error_404_Page))
 * Let me know how is it goin
 * Cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] What’s the point of only REDIRECTING wp-admin url to custom login url?](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/)
 *  Thread Starter [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/#post-8579037)
 * I tried it with all stuff deleted alson in anonymous chrome mode and 3 or 4 website
   wp checkers. Still the same result. Ill test it with default theme without plugins
   next year 🙂 Holydays are comin… Anyway good job. I saw your demo properly before
   😉
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] What’s the point of only REDIRECTING wp-admin url to custom login url?](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/)
 *  Thread Starter [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/#post-8574378)
 * And the .htaccess
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /somedir/v1/
       RewriteRule ^index\.php$ - [L] 
   
       #START - WP Hide & Security Enhancer
       #WriteCheckString:1482274952_24274
       <IfModule mod_env.c>
       SetEnv HTTP_MOD_REWRITE On
       </IfModule>
   
       RewriteRule ^design/ragu-style.css /somedir/v1/wp-content/plugins/wp-hide-security-enhancer/router/file-process.php?action=style-clean&file_path=/somedir/v1/wp-content/themes/theme/style.css [L,QSA]
   
       RewriteRule ^design/ragu-style.css /somedir/v1/wp-content/themes/theme/style.css [L,QSA]
   
       RewriteRule ^design/(.+) /somedir/v1/wp-content/themes/theme/$1 [L,QSA]
   
       RewriteRule ^modules/(.+) /somedir/v1/wp-content/plugins/$1 [L,QSA]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-content/plugins(.+) /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
       RewriteRule ^wp-includes(.+) /somedir/v1/index.php [L]
   
       RewriteRule ^resources/(.+) /somedir/v1/wp-includes/$1 [L,QSA]
   
       RewriteRule ^data/(.+) /somedir/v1/wp-content/uploads/$1 [L,QSA]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-content/uploads(.+) /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteCond %{REQUEST_FILENAME} -f
       RewriteCond %{REQUEST_FILENAME} !wp-activate.php [NC]
       RewriteCond %{REQUEST_FILENAME} !wp-cron.php [NC]
       RewriteCond %{REQUEST_FILENAME} !wp-signup.php [NC]
       RewriteCond %{REQUEST_FILENAME} !wp-comments-post.php [NC]
       RewriteCond %{REQUEST_FILENAME} !wp-login.php [NC]
       RewriteRule ^wp-([a-z-])+.php /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-signup.php /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^xmlrpc.php /somedir/v1/index.php [L]
   
       RewriteRule ^wp-json(.+) /somedir/v1/index.php?wph-throw-404 [L]
   
       RewriteRule ^fuckt-that.php /somedir/v1/wp-comments-post.php [L,QSA]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-comments-post.php /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^license.txt /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^readme.html /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-activate.php /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-cron.php /somedir/v1/index.php [L]
   
       RewriteRule ^storage/(.+) /somedir/v1/wp-content/$1 [L,QSA]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$ [NC]
       RewriteRule ^wp-content(.+) /somedir/v1/index.php [L]
   
                                   <FilesMatch "">
                                       <IfModule mod_headers.c>
                                           Header unset X-Powered-By
                                       </IfModule>
                                   </FilesMatch>
   
                                   <FilesMatch "">
                                       <IfModule mod_headers.c>
                                           Header unset X-Pingback
                                       </IfModule>
                                   </FilesMatch>
   
       RewriteRule ^loading.php(.*) /somedir/v1/wp-login.php$1 [L,QSA]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-login.php /somedir/v1/index.php [L]
   
       RewriteCond %{REQUEST_URI} adm$
       RewriteRule ^(.*)$ adm/ [R=301,L]
       RewriteRule ^adm/(.*) /somedir/v1/wp-admin/$1 [L,QSA]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^wp-admin(.+) /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^dashboard(.+) /somedir/v1/index.php [L]
       RewriteCond %{ENV:REDIRECT_STATUS} ^$
       RewriteRule ^admin(.+) /somedir/v1/index.php [L]
   
       #END - WP Hide & Security Enhancer
   
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /somedir/v1/index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] What’s the point of only REDIRECTING wp-admin url to custom login url?](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/)
 *  Thread Starter [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/#post-8574375)
 * All plugins are disabled, only WP hide is enabled…
    All settings in your plugin
   are ON, paths are rewriten, styles, ids, wp classes removed by the options. The
   WP installation is recognized as WP anyway by Wappalyzer and the rest of WP detecting
   services over the internet. The login address wp-login.php is still accessible.
   wp-admin just redirecting to my custom wo-login.php which is loading.php now
 * I am WP/WOO developer, not BFU. There is something wrong in your code, but i 
   dont have a time for debugging
 * IDK whats wrong, maybe some condition, maybe some rew rules 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] What’s the point of only REDIRECTING wp-admin url to custom login url?](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/)
 *  Thread Starter [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/#post-8574313)
 * Yea checked both… Ill install it on mirror…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] What’s the point of only REDIRECTING wp-admin url to custom login url?](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/)
 *  Thread Starter [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/whats-the-point-of-only-redirecting-wp-admin-url-to-custom-login-url/#post-8568347)
 * Sure i did it three times to be sure with “clear all cache” chrome extension 
   without any server caching or wordpress caching plugin. I ran the website in 
   anonymous mode in chrome with same result.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] Make /wp-admin/ throw a 404 page or something](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/#post-8566478)
 * Just add some condition for Ajax etc if you need or get template part, as you
   wish…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] This has been disabled](https://wordpress.org/support/topic/this-has-been-disabled-2/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/this-has-been-disabled-2/#post-8565869)
 * Paste it in functions.php . . . SOLVED
 *     ```
       add_action( 'init', 'force_404', 1 );
   
       function force_404() {
           $requested_uri = $_SERVER["REQUEST_URI"];
           do_action('debugger_var_dump', $requested_uri, '$requested_uri', 0, 0);
           do_action('debugger_var_dump', strpos( $requested_uri, '/wp-login.php'), 'FOUND?', 0, 0);
   
           if (  strpos( $requested_uri, '/wp-login.php') !== false ) {
   
               do_action('debugger_var_dump', 'REDIRECT', 'REDIRECT', 0, 0);
               // The redirect codebase
               status_header( 404 );
               nocache_headers();
               include( get_query_template( '404' ) );
               die();
           }
   
           if (  strpos( $requested_uri, '/wp-login.php') !== false || strpos( $requested_uri, '/wp-register.php') !== false ) {
   
               do_action('debugger_var_dump', 'REDIRECT', 'REDIRECT', 0, 0);
               // The redirect codebase
               status_header( 404 );
               nocache_headers();
               include( get_query_template( '404' ) );
               die();
           }
   
           if (  strpos( $requested_uri, '/wp-admin') !== false && !is_super_admin() ) {
   
               do_action('debugger_var_dump', 'REDIRECT', 'REDIRECT', 0, 0);
               // The redirect codebase
               status_header( 404 );
               nocache_headers();
               include( get_query_template( '404' ) );
               die();
           }
   
           do_action('debugger_var_dump', 'END', 'END', 0, 0);
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] Make /wp-admin/ throw a 404 page or something](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/make-wp-admin-throw-a-404-page-or-something/#post-8565864)
 *     ```
       add_action( 'init', 'force_404', 1 );
   
       function force_404() {
           $requested_uri = $_SERVER["REQUEST_URI"];
           do_action('debugger_var_dump', $requested_uri, '$requested_uri', 0, 0);
           do_action('debugger_var_dump', strpos( $requested_uri, '/wp-login.php'), 'FOUND?', 0, 0);
   
           if (  strpos( $requested_uri, '/wp-login.php') !== false ) {
   
               do_action('debugger_var_dump', 'REDIRECT', 'REDIRECT', 0, 0);
               // The redirect codebase
               status_header( 404 );
               nocache_headers();
               include( get_query_template( '404' ) );
               die();
           }
   
           if (  strpos( $requested_uri, '/wp-login.php') !== false || strpos( $requested_uri, '/wp-register.php') !== false ) {
   
               do_action('debugger_var_dump', 'REDIRECT', 'REDIRECT', 0, 0);
               // The redirect codebase
               status_header( 404 );
               nocache_headers();
               include( get_query_template( '404' ) );
               die();
           }
   
           if (  strpos( $requested_uri, '/wp-admin') !== false && !is_super_admin() ) {
   
               do_action('debugger_var_dump', 'REDIRECT', 'REDIRECT', 0, 0);
               // The redirect codebase
               status_header( 404 );
               nocache_headers();
               include( get_query_template( '404' ) );
               die();
           }
   
           do_action('debugger_var_dump', 'END', 'END', 0, 0);
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Hide & Security Enhancer] wp-admin still accessible](https://wordpress.org/support/topic/wp-admin-still-accessible/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/wp-admin-still-accessible/#post-8565783)
 * I tested this feature over 3 websites, still the same result. Just redirect from
   wp-admin url to my custom login url, nothing else 😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PDF Invoices & Packing Slips for WooCommerce] How to attach packing slip to each new order confirmation mail](https://wordpress.org/support/topic/how-to-attach-packing-slip-to-each-new-order-confirmation-mail/)
 *  [SiteCare](https://wordpress.org/support/users/fstab/)
 * (@fstab)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/how-to-attach-packing-slip-to-each-new-order-confirmation-mail/#post-8517577)
 * Just edit few lines in plugin code, if you want it… but with warning, it’s not
   recommended to edit plugin code, because you will lost it after plugin update
   😉
    /includes/class-wcpdf-export.php
 * Add this to line 593
    `'packing-slip' => apply_filters('wpo_wcpdf_email_allowed_statuses',
   $invoice_allowed), // Relevant (default) statuses: new_order, customer_invoice,
   customer_processing_order, customer_completed_order`
 * Add this condition after line 609
 *     ```
       if ($template_type == 'packing-slip' && !$attach_invoice) {
                           // don't attach invoice, continue with other documents
                           continue;
                       }
       ```
   
    -  This reply was modified 9 years, 10 months ago by [SiteCare](https://wordpress.org/support/users/fstab/).

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/users/fstab/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/fstab/replies/page/2/?output_format=md)