Note: all information will be transferred to https://www.publicdocumentation.com/
I can haz?
Yes, SVN is also present (don't ask..)
Yes
Yes, command is wp as well as wp-cli
No
Read how to disable loading the plugins on an AJAX event: https://github.com/managedwphosting/developers/blob/master/examples/ajax.php
Yes, WP_ENVIRONMENT_TYPE is available on our staging servers, set to 'staging'.
No, it is disabled by default. See the .htaccess file _twice_ for the instructions to enable.
Getting a 403 response ? Sent us: your _full_ : useragent, IP adress, domain, path. Before you do, check your home directory for managedwp_[date].txt logs. Do note that we block common bot user-agents such as curl or wget. Make sure your user-agent is human readable and unique.
Use the filter mp_get_logo
Read how to filter the $is_dismissed boolean here: https://github.com/managedwphosting/developers/blob/master/examples/notices.php
No you may not. We run, secure and update all WP Core files. Do not modify any WP Core file, it will be automatically overwritten.
If your domain is domain.ext and hosted on server w001c2.wpserver.pro the preview url is domainext-w001c2.preview.wpmanaged.nl so the syntax is : ${domain}${ext-without-any-dots}-w{$serverid}c2.preview.wpmanaged.nl
Note that the WP domain setting has to be renamed by you, it is not set dynamically.
Also note that varnish caching is disabled on the preview url.
We do automated word filters on outgoing mails via wp_mail. To disable, make sure that your plugin of theme de-registers these actions and filters:
add_action( 'woocommerce_checkout_process', 'mp_woocommerce_checkout_process' );
add_filter( 'gform_validation', 'mp_gform_validation' );
add_filter( 'ninja_forms_submit_data', 'mp_ninja_forms_submit_data' );
add_filter( 'avf_form_send', 'mp_avf_form_send', 10, 1 ); // Enfold
add_filter( 'pre_comment_approved', 'mp_pre_comment_approved', 10, 2 );
add_filter( 'wp_mail', 'mwp_wp_filter_mail' );
Or even whitelist your domain using define( 'MP_SPAM_EMAIL_DOMAIN_WHITELIST' , [ 'your.domain', ] );
Or .. stop all filtering ( except for IP blacklisting ) using define( 'MP_NO_MAILFILTER', 'true' );
Check the error logs for denied emails.
Checks will return true if spam is found.
Check a website: mp_is_spam_website( $website );
Check a phone-number: mp_is_spam_phone( $phone );
Check an email-address: mp_is_spam_email( $email );
Check a name: mp_is_spam_authorname( $name );
Check generic text of email body: mp_is_spam_body( $body );
To disable, make sure that your plugin of theme de-registers these actions and filters:
add_filter('retrieve_password_message','mp_retrieve_password_message');
add_filter('email_change_email','mp_retrieve_password_message');
Validate DNS pointing to us: https://dnscheck.tools.managedwphosting.nl/
Mass redirect generator: https://redirects.tools.managedwphosting.nl/
Generate a strong password: https://passwordgenerator.tools.managedwphosting.nl/
View your IP: https://ip.tools.managedwphosting.nl/
Create a file named wpcli_ignore in your user homedir. Example: /home/myuser/wpcli_ignore
Firstly check the full response headers. Next check the error log as we use error_log() on the webservers. In some places we use a wp_die(), preceded by an error_log()
If your development server is vps052 and your domain is domain.ext -> domain-ext.dev.vps052c2.wpbouwlocatie.nl
cd /home/myuser/public_html && wp-cli mp_wc clear_sessions >/dev/null 2>&1
cd /home/myuser/public_html && wp-cli mp_wc clear_actionscheduler >/dev/null 2>&1
Check https://www.managedwphosting.nl/nuttige-wenken-voor-de-programmeur/
Sure thing, hit us up and we will make it happen
Most of the times you will use *.staging052.mooieserver.nl
While we do not encourage this at all, add a define true for MP_NO_DISALLOW_FILE_EDIT in your wp-config
Create an array in wp-config ( only here allowed ) with $mwp_block_ip_address as variable name. This will allow for proxy blocking.
Related: htaccess allow only 12.12.18.1, 12.12.28.2 and 12.12.24.3
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-For} !^12\.12\.18\.1
RewriteCond %{HTTP:X-Forwarded-For} !^12\.12\.28\.2
RewriteCond %{HTTP:X-Forwarded-For} !^12\.12\.24\.3
RewriteRule ^ – [F]
</IfModule>
No REST for the wicked
- Is user logged in?
https://github.com/managedwphosting/developers/blob/master/examples/rest.php - User has items in WooCommerce cart?
https://github.com/managedwphosting/developers/blob/master/examples/rest.php