Force https – htaccess rewrite non ssl to ssl

Want to force users to use SSL on your site? Add this code to the top of your .htaccess file, edit our domain with your own.  This htaccess file should be at your site’s root directory, or the subdirectory if you prefer further customization and control. WARNING:  Make a backup of your htaccess file so […]

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 […]