Plugin Directory

Changeset 1105728 for https-redirection


Ignore:
Timestamp:
03/05/2015 05:54:19 AM (11 years ago)
Author:
mra13
Message:

committing v1.4

Location:
https-redirection/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • https-redirection/trunk/https-redirection-settings.php

    r967250 r1105728  
    3838            <div class="icon32 icon32-bws" id="icon-options-general"></div>
    3939            <h2><?php _e('HTTPS Redirection Settings', 'https_redirection'); ?></h2>
     40<?php if ( get_option('permalink_structure') ) { ?>
    4041            <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>
    4243                <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>
    4344                <p style="border: 1px solid #ccc; padding: 10px;">
     
    8889    <?php wp_nonce_field(plugin_basename(__FILE__), 'httpsrdrctn_nonce_name'); ?>
    8990            </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 } ?>
    9098        </div>
    9199    <?php
  • https-redirection/trunk/https-redirection.php

    r967250 r1105728  
    11<?php
    22/*
    3   Plugin Name: HTTPS Redirection
     3  Plugin Name: Easy HTTPS (SSL) Redirection
    44  Plugin URI:
    55  Description: The plugin HTTPS Redirection allows an automatic redirection to the "HTTPS" version/URL of the site.
    66  Author: Tips and Tricks HQ
    7   Version: 1.3
     7  Version: 1.4
    88  Author URI: https://www.tipsandtricks-hq.com/
    99  License: GPLv2 or later
  • https-redirection/trunk/readme.txt

    r1073032 r1105728  
    55Requires at least: 3.5
    66Tested up to: 4.1
    7 Stable tag: 1.3
     7Stable tag: 1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9292== Changelog ==
    9393
     94= v1.4 =
     95- Improved the settings area to only show the options if pretty permalink feature is enabled.
     96
    9497= v1.3 =
    9598- 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.