MΛCHINΣ CØDΣ
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Encrypt] ERROR: Registration key is already in useI am tryin to generate a certificate, but →
“Challenge self check failed for domain xyz”Forum: Plugins
In reply to: [WP TripAdvisor Review Slider] Overall reviewsAny chance about this feature in future?
- This reply was modified 8 years, 3 months ago by MΛCHINΣ CØDΣ.
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
In reply to: [WPS Hide Login] This has been disabledYou 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
In reply to: [WPS Hide Login] This has been disabledCheck 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.ww.wp.xz.cn/Creating_an_Error_404_Page#Editing_an_Error_404_Page)Let me know how is it goin
Cheers
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 😉
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 WordPressAll 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 nowI 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 🙂
Yea checked both… Ill install it on mirror…
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
In reply to: [WPS Hide Login] Make /wp-admin/ throw a 404 page or somethingJust add some condition for Ajax etc if you need or get template part, as you wish…
Forum: Plugins
In reply to: [WPS Hide Login] This has been disabledPaste 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
In reply to: [WPS Hide Login] Make /wp-admin/ throw a 404 page or somethingadd_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
In reply to: [WP Hide & Security Enhancer] wp-admin still accessibleI tested this feature over 3 websites, still the same result. Just redirect from wp-admin url to my custom login url, nothing else 😀
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.phpAdd 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_orderAdd 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, 5 months ago by MΛCHINΣ CØDΣ.