Plugin Directory

Changeset 1786901


Ignore:
Timestamp:
12/14/2017 11:24:16 AM (8 years ago)
Author:
rehmatworks
Message:

Updating readme

Location:
wp-ssl-redirect
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • wp-ssl-redirect/tags/1.3.2/readme.txt

    r1786868 r1786901  
    2424The plugin makes use of $_SERVER array to check either the URL is accessed over HTTPS or HTTP. If the request is made over HTTP, then the plugin sends a 301 redirect header and performs the redirect to the HTTPS version of same URL.
    2525
     26= 301 Redirect is Not Working =
     27If <code>WP_SITEURL</code> and <code>WP_HOME</code> are defined in your WordPress website's <code>wp-config.php</code> file, then uncomment or delete these two constants, otherwise WP SSL Redirect's 301 redirect may not work properly.
     28
    2629== Screenshots ==
    2730none
  • wp-ssl-redirect/tags/1.3.2/wp-ssl-redirect.php

    r1786868 r1786901  
    8181      }
    8282    }
     83
     84    $wpsslredir_url = str_replace('http://', 'https://', $wpsslredir_requested_url);
    8385    $wpsslredir_new_siteurl = str_replace('http://', 'https://', $wpsslredir_main_url);
    8486    if($wpsslredir_new_siteurl !== site_url()) {
     
    8890      }
    8991    }
    90     $redir_parsed = parse_url(str_replace('http://', 'https://', $wpsslredir_requested_url));
    91     $wpsslredir_url = rtrim(site_url(), '/') . $redir_parsed['path'];
     92   
    9293    if($requested_full !== $wpsslredir_url) {
    9394      header('Location: '.$wpsslredir_url, true, 301);
  • wp-ssl-redirect/trunk/readme.txt

    r1786868 r1786901  
    2424The plugin makes use of $_SERVER array to check either the URL is accessed over HTTPS or HTTP. If the request is made over HTTP, then the plugin sends a 301 redirect header and performs the redirect to the HTTPS version of same URL.
    2525
     26= 301 Redirect is Not Working =
     27If <code>WP_SITEURL</code> and <code>WP_HOME</code> are defined in your WordPress website's <code>wp-config.php</code> file, then uncomment or delete these two constants, otherwise WP SSL Redirect's 301 redirect may not work properly.
     28
    2629== Screenshots ==
    2730none
  • wp-ssl-redirect/trunk/wp-ssl-redirect.php

    r1786868 r1786901  
    8181      }
    8282    }
     83
     84    $wpsslredir_url = str_replace('http://', 'https://', $wpsslredir_requested_url);
    8385    $wpsslredir_new_siteurl = str_replace('http://', 'https://', $wpsslredir_main_url);
    8486    if($wpsslredir_new_siteurl !== site_url()) {
     
    8890      }
    8991    }
    90     $redir_parsed = parse_url(str_replace('http://', 'https://', $wpsslredir_requested_url));
    91     $wpsslredir_url = rtrim(site_url(), '/') . $redir_parsed['path'];
     92   
    9293    if($requested_full !== $wpsslredir_url) {
    9394      header('Location: '.$wpsslredir_url, true, 301);
Note: See TracChangeset for help on using the changeset viewer.