Changeset 1105728 for https-redirection
- Timestamp:
- 03/05/2015 05:54:19 AM (11 years ago)
- Location:
- https-redirection/trunk
- Files:
-
- 1 added
- 3 edited
-
https-redirection-settings.php (modified) (2 diffs)
-
https-redirection.php (modified) (1 diff)
-
https-utillity-functions.php (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
https-redirection/trunk/https-redirection-settings.php
r967250 r1105728 38 38 <div class="icon32 icon32-bws" id="icon-options-general"></div> 39 39 <h2><?php _e('HTTPS Redirection Settings', 'https_redirection'); ?></h2> 40 <?php if ( get_option('permalink_structure') ) { ?> 40 41 <div class="error"> 41 <p><strong><?php _e("Notice:", 'https_redirection'); ?></strong> <?php _e("It is very important to be extremely attentive when making changes to .htaccess file. This functionality will work if any permalinks except the default ones are set on the Settings -> Permalink page.", 'https_redirection'); ?></p>42 <p><strong><?php _e("Notice:", 'https_redirection'); ?></strong> <?php _e("It is very important to be extremely attentive when making changes to .htaccess file.", 'https_redirection'); ?></p> 42 43 <p><?php _e("If after making changes your site stops functioning, please open .htaccess file in the root directory of the WordPress install and delete everything between the following two lines", 'https_redirection'); ?>:</p> 43 44 <p style="border: 1px solid #ccc; padding: 10px;"> … … 88 89 <?php wp_nonce_field(plugin_basename(__FILE__), 'httpsrdrctn_nonce_name'); ?> 89 90 </form> 91 <?php } else { ?> 92 <div class="error"> 93 <p><?php _e('HTTPS redirection only works if you have pretty permalinks enabled.', 'https_redirection'); ?></p> 94 <p><?php _e('To enable pretty permalinks go to <em>Settings > Permalinks</em> and select any option other than "default".', 'https_redirection'); ?></p> 95 <p><a href="options-permalink.php">Enable Permalinks</a></p> 96 </div> 97 <?php } ?> 90 98 </div> 91 99 <?php -
https-redirection/trunk/https-redirection.php
r967250 r1105728 1 1 <?php 2 2 /* 3 Plugin Name: HTTPSRedirection3 Plugin Name: Easy HTTPS (SSL) Redirection 4 4 Plugin URI: 5 5 Description: The plugin HTTPS Redirection allows an automatic redirection to the "HTTPS" version/URL of the site. 6 6 Author: Tips and Tricks HQ 7 Version: 1. 37 Version: 1.4 8 8 Author URI: https://www.tipsandtricks-hq.com/ 9 9 License: GPLv2 or later -
https-redirection/trunk/readme.txt
r1073032 r1105728 5 5 Requires at least: 3.5 6 6 Tested up to: 4.1 7 Stable tag: 1. 37 Stable tag: 1.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 92 92 == Changelog == 93 93 94 = v1.4 = 95 - Improved the settings area to only show the options if pretty permalink feature is enabled. 96 94 97 = v1.3 = 95 98 - Updated the htaccess rules for HTTPS redirection to be more robust to prevent errors on some servers.
Note: See TracChangeset
for help on using the changeset viewer.