Manage IP Access Controls via M3Admin Control Panel

Log in to your M3 Admin Control Panel EXAMPLE: https://servernamehere.m3xs.net/adm/ Note: Put your server name where it says yourservername in the example URL above. 1. Click Websites 2. Click List 3. Click Domain 4. Click Manage IP Access Controls 5.  Click Add New Access Rule 6. Enter Path Note: It’s best to add the trailing […]

Add FTP Account via M3 Admin Control Panel

Log in to your M3 Admin Control Panel EXAMPLE: https://servernamehere.m3xs.net/adm/ Note: Put your server name where it says yourservername in the example URL above. Note: Your control panel may look slightly different depending on the theme you are using; however, the steps will be the same for all themes based off of the M3XS7 theme. […]

country code redirect

This example illustrates how to redirect a directory or site to a different web site depending on your specific country codes using Apache’s htaccess. RewriteEngine on RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^(CN|TR|IN|ID|BR|JP|TH)$ RewriteRule ^(.*)$ http://your_site.net/some_directory [L] Of course, replace the example domain above with your appropriate choice.

Help prevent CDN subdomain being indexed.

Using the W3TC plugin we found that it was possible for google to be indexing the CDN subdomain. Here is what we did to help prevent the CDN subdomain from being indexed. 1) set the document root for the cdn subdomain to the following. DocumentRoot /home/wpadmin/cdn.m3server.com/public_html 2) go to the document root directory. 3) set […]

disable php opcache per site

In some cases, php opcache causes an incompatible php application to fail. Disabling for a single site instead of all sites is recommended: edit the web site’s root .htaccess file, place this at the very top of it: php_flag opcache.enable Off See also, “what is htaccess”