Plugin Directory

Changeset 2921218


Ignore:
Timestamp:
06/04/2023 12:32:50 PM (3 years ago)
Author:
speedify
Message:

Releasing version 3.5.0

Location:
auto-install-free-ssl
Files:
276 added
9 edited

Legend:

Unmodified
Added
Removed
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/AdminNotice.php

    r2914082 r2921218  
    4141    public  $acmeFactory ;
    4242    public  $return_array_step1 ;
     43    public  $page_url ;
    4344    /**
    4445     * Start up
     
    113114        }
    114115        $this->return_array_step1 = ( get_option( 'aifs_return_array_step1_manually' ) ? get_option( 'aifs_return_array_step1_manually' ) : add_option( 'aifs_return_array_step1_manually' ) );
     116       
    115117        if ( !defined( 'AIFS_COUNTDOWN_DURATION' ) ) {
    116             define( 'AIFS_COUNTDOWN_DURATION', 74.09999999999999 * 60 * 60 + 38 );
    117         }
     118            define( 'AIFS_COUNTDOWN_DURATION', 11.7 * 60 * 60 + 38 );
     119            // 74.1 h + 38 s
     120        }
     121       
     122        $site_url = parse_url( get_site_url() );
     123        $this->page_url = $site_url['scheme'] . "://" . $site_url['host'] . $_SERVER['REQUEST_URI'];
    118124    }
    119125   
     
    221227               
    222228                $renew_url = menu_page_url( 'aifs_generate_ssl_manually', false );
    223                 $remind_later = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_renew_ssl_later', 'aifsrenewssllater' );
     229                $remind_later = wp_nonce_url( $this->page_url, 'aifs_renew_ssl_later', 'aifsrenewssllater' );
    224230                $generate_ssl = new GenerateSSLmanually();
    225231                $renew_button_text = __( "Renew SSL Now", 'auto-install-free-ssl' );
     
    266272       
    267273        if ( $display_review_request && is_ssl() && $display_review == 1 ) {
    268             $already_done = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_reviewed', 'aifsrated' );
    269             $remind_later = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_review_later', 'aifslater' );
     274            $already_done = wp_nonce_url( $this->page_url, 'aifs_reviewed', 'aifsrated' );
     275            $remind_later = wp_nonce_url( $this->page_url, 'aifs_review_later', 'aifslater' );
    270276            $html = '<div class="notice notice-success aifs-review">
    271277                        <div class="aifs-review-box">
     
    324330       
    325331        if ( $display_announcement == 1 ) {
    326             $already_done = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_announcement_already_read', 'aifsannouncementdone' );
    327             $remind_later = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_announcement_read_later', 'aifsannouncementlater' );
     332            $already_done = wp_nonce_url( $this->page_url, 'aifs_announcement_already_read', 'aifsannouncementdone' );
     333            $remind_later = wp_nonce_url( $this->page_url, 'aifs_announcement_read_later', 'aifsannouncementlater' );
    328334            /*if ( aifs_is_existing_user() ) {
    329335                            $link                           = menu_page_url( 'auto_install_free_ssl', false );
     
    389395           
    390396            if ( $display_announcement == 1 ) {
    391                 $already_done = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_discount_offer_already_read', 'aifsdiscountofferdone' );
    392                 $remind_later = wp_nonce_url( get_site_url() . $_SERVER['REQUEST_URI'], 'aifs_discount_offer_read_later', 'aifsdiscountofferlater' );
     397                $already_done = wp_nonce_url( $this->page_url, 'aifs_discount_offer_already_read', 'aifsdiscountofferdone' );
     398                $remind_later = wp_nonce_url( $this->page_url, 'aifs_discount_offer_read_later', 'aifsdiscountofferlater' );
    393399                //$link                           = aifssl_fs()->get_upgrade_url();
    394400                $link = $this->factory->upgrade_url_for_existing_users();
     
    469475            }
    470476            update_option( 'aifs_display_review', 0 );
    471             wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifsrated' ] ) );
     477            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifsrated' ] ) );
    472478        } else {
    473479           
     
    478484                update_option( 'aifs_display_review', 5 );
    479485                wp_schedule_single_event( strtotime( "+5 days", time() ), 'aifs_display_review_init' );
    480                 wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifslater' ] ) );
     486                wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifslater' ] ) );
    481487            }
    482488       
     
    490496            }
    491497            update_option( 'aifs_display_free_premium_offer', 0 );
    492             wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifsannouncementdone' ] ) );
     498            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifsannouncementdone' ] ) );
    493499        } else {
    494500           
     
    499505                update_option( 'aifs_display_free_premium_offer', 5 );
    500506                wp_schedule_single_event( strtotime( "+3 days", time() ), 'aifs_display_announcement_init' );
    501                 wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifsannouncementlater' ] ) );
     507                wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifsannouncementlater' ] ) );
    502508            }
    503509       
     
    511517            }
    512518            update_option( 'aifs_renew_ssl_later_requested_timestamp', time() );
    513             wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifsrenewssllater' ] ) );
     519            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifsrenewssllater' ] ) );
    514520        }
    515521       
     
    521527            }
    522528            update_option( 'aifs_display_discount_offer_existing_users', 0 );
    523             wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifsdiscountofferdone' ] ) );
     529            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifsdiscountofferdone' ] ) );
    524530        } else {
    525531           
     
    530536                update_option( 'aifs_display_discount_offer_existing_users', 5 );
    531537                wp_schedule_single_event( strtotime( "+3 days", time() ), 'aifs_display_discount_offer_init' );
    532                 wp_redirect( $this->factory->aifs_remove_parameters_from_url( get_site_url() . $_SERVER['REQUEST_URI'], [ 'aifsdiscountofferlater' ] ) );
     538                wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, [ 'aifsdiscountofferlater' ] ) );
    533539            }
    534540       
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/Factory.php

    r2905766 r2921218  
    10171017    {
    10181018       
    1019         if ( aifssl_fs()->get_user()->id == 5953244 ) {
     1019        if ( aifssl_fs()->get_user() !== false && aifssl_fs()->get_user()->id == 5953244 ) {
    10201020            $link = "https://checkout.freemius.com/mode/dialog/plugin/10204/plan/17218/?title=Auto-Install%20Free%20SSL&subtitle=Automatically%20renews%20and%20installs%20SSL%20cert%20in%20your%20sleep!";
    10211021            $admin_email = get_option( 'admin_email' );
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/ForceHttpsPage.php

    r2905766 r2921218  
    6666        }
    6767
    68         if((!aifs_is_free_version() || aifssl_fs()->get_user()->id == 5953244) && !aifs_license_is_unlimited()) {
     68        if((!aifs_is_free_version() || (aifssl_fs()->get_user() !== false && aifssl_fs()->get_user()->id == 5953244)) && !aifs_license_is_unlimited()) {
    6969            $menu_title = aifs_is_free_version() ? __( "Upgrade to Premium", 'auto-install-free-ssl' ) : __( "Upgrade License", 'auto-install-free-ssl' );
    7070            aifssl_fs()->add_submenu_link_item( $menu_title, $this->factory->upgrade_url(false, "&checkout=true"), 'upgrade-license' );
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php

    r2914082 r2921218  
    107107        add_submenu_page('auto_install_free_ssl', __("Generate SSL Manually Page", 'auto-install-free-ssl'), __("Generate SSL", 'auto-install-free-ssl'), 'manage_options', 'aifs_generate_ssl_manually', array( $this, 'create_generate_ssl_manually_admin_page' ));
    108108    }
    109        
    110    
     109
     110
    111111    /**
    112112     * Options page callback
     
    304304        $text = sprintf(__( 'Hello %s, this FREE version requires manual SSL renewal every 60 days.', 'auto-install-free-ssl' ), aifs_admin_first_name());
    305305        //$text = sprintf(__("Tired of renewing & installing SSL certificates manually every 60 days? Try the Premium Version and let them happen automatically!", 'auto-install-free-ssl'));
    306         $text_align = "center";
     306        $style = "";
    307307
    308308        $number_of_ssl_generated = get_option('aifs_number_of_ssl_generated');
    309         $style = "";
     309        //$style = "";
    310310
    311311        if($number_of_ssl_generated) {
     
    313313
    314314            //Assuming User will install the generated SSL in 2 days (if Cloudflare)
    315             if($this->return_array_step1['current_step_number'] == 3 && !get_option('aifs_is_generated_ssl_installed')){
     315            if(is_array($this->return_array_step1) && $this->return_array_step1['current_step_number'] == 3 && !get_option('aifs_is_generated_ssl_installed')){
    316316                //$text = __( "Facing difficulties installing the SSL certificate? Try Premium Version, and the plugin will generate & install SSL automatically!", 'auto-install-free-ssl' );
    317317                $text = __( "Facing difficulties installing the SSL certificate?", 'auto-install-free-ssl' );
    318                 $text_align = "left";
     318                $style = "background-color: white; color: black; padding: 5px;";
    319319            }
    320320
     
    327327                //$text = __( "Tired of renewing & installing SSL certificates manually every 60 days? Try Premium Version, and the plugin will do it automatically!", 'auto-install-free-ssl' );
    328328                $text = __( "Tired of renewing & installing SSL certificates manually every 60 days?", 'auto-install-free-ssl' );
    329                 $text_align = "left";
     329                $style = "background-color: white; color: black; padding: 5px;";
    330330            }
    331331
     
    341341                //$text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate? Try Premium Version; the plugin will do it automatically & install the SSL!", 'auto-install-free-ssl' );
    342342                $text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate?", 'auto-install-free-ssl' );
    343                 $style = " line-height: 3em;";
    344                 $text_align = "left";
     343                //$style = " line-height: 3em;";
     344                $style = "background-color: white; color: black; padding: 5px;";
    345345            }
    346346        }
     
    388388        ?>
    389389            <div class="aifs-banner">
    390                 <p class="aifs-banner-intro" style="text-align: <?= $text_align ?>;"><?= $text ?></p>
     390                <p class="aifs-banner-intro" style="<?= $style ?>"><?= $text ?></p>
    391391                <p class="aifs-banner-heading"><?= __( "Enjoy 100% automation with our Premium version", 'auto-install-free-ssl' ) ?></p>
    392392
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/HomeOptions.php

    r2914082 r2921218  
    167167        <?php
    168168       
    169         if ( !isset( $_GET['comparison'] ) ) {
     169        if ( !isset( $_GET['comparison'] ) && isset( $_GET['welcome'] ) && $_GET['welcome'] == "yes" ) {
    170170            ?>
    171171          <div class="card block-body" style="max-width: 100%; text-align: center;">
     
    183183            ?>" class="button button-primary"><?php
    184184            echo  __( "Generate Your First SSL Certificate", 'auto-install-free-ssl' ) ;
    185             ?></a> <a href="https://wordpress.org/plugins/auto-install-free-ssl/#installation" target="_blank" class="button" style="margin-left: 5%;"><?php
     185            ?></a> <a href="https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=users_website&utm_medium=dashboard&utm_campaign=aifs_free&utm_content=welcome_section" target="_blank" class="button" style="margin-left: 5%;"><?php
    186186            echo  __( "Read the Documentation", 'auto-install-free-ssl' ) ;
    187187            ?></a></p>
     
    194194          <p style="font-size: xx-large; text-align: center; color: black;"><?php
    195195        echo  __( "Features Comparison", 'auto-install-free-ssl' ) ;
     196        ?></p>
     197
     198          <p style="font-size: medium; text-align: center;"><?php
     199        echo  __( "Please scroll down to learn about the features and select any plugin version", 'auto-install-free-ssl' ) ;
    196200        ?></p>
    197201
     
    220224            $percentage = __( "20%", 'auto-install-free-ssl' );
    221225            /* translators: %1$s: HTML code to make the color red of the text '%2$s discount!'. Please keep its order the same.    %2$s: Discount percentage (includes % sign) */
    222             echo  sprintf( __( 'Scroll down and Select any Pro plan asap to grab a %1$s %2$s discount!', 'auto-install-free-ssl' ), "<span style='color: red;'>", $percentage ) . "</span>" ;
     226            echo  sprintf( __( 'Select any Pro plan asap to grab a %1$s %2$s discount!', 'auto-install-free-ssl' ), "<span style='color: red;'>", $percentage ) . "</span>" ;
    223227            echo  '<img src="' . AIFS_URL . 'assets/img/fire.webp" style="margin-left: 2%; width 20px; height: 20px;"><span class="expires-in">' . __( "expires in", 'auto-install-free-ssl' ) . ' <span id="countdown" style=""></span></span>' ;
    224228            echo  '</p></div>' ;
     
    445449            echo  __( "Yes", 'auto-install-free-ssl' ) ;
    446450            ?> <a title="<?php
    447             echo  __( "Please get in touch with us after purchase. After reviewing your web hosting environment, we'll choose the best option (Bash script or Cloudflare CDN) and implement the automation.", 'auto-install-free-ssl' ) ;
     451            echo  __( "Please get in touch with us after purchase. After reviewing your web hosting environment, we'll choose the best option (Bash script or Cloudflare CDN) and implement the automation. This service is applicable if you purchase without a discount.", 'auto-install-free-ssl' ) ;
    448452            ?>">[?]</a>
    449453                      </td>
     
    452456            echo  __( "Yes", 'auto-install-free-ssl' ) ;
    453457            ?> <a title="<?php
    454             echo  __( "Please get in touch with us after purchase. After reviewing your web hosting environment, we'll choose the best option (Bash script or Cloudflare CDN) and implement the automation.", 'auto-install-free-ssl' ) ;
     458            echo  __( "Please get in touch with us after purchase. After reviewing your web hosting environment, we'll choose the best option (Bash script or Cloudflare CDN) and implement the automation. This service is applicable if you purchase without a discount.", 'auto-install-free-ssl' ) ;
    455459            ?>">[?]</a>
    456460                      </td>
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Logger.php

    r2905766 r2921218  
    156156     * Delete log files older than 45 days
    157157     */
     158    /*public function clean_log_directory_v0(){
     159   
     160            $log_directory = AIFS_UPLOAD_DIR . DS . 'log' . DS;
     161            $retain_files = 90; //Previous value was 45
     162   
     163            $files = glob($log_directory.'*', GLOB_MARK);
     164            $files = array_values(array_diff($files, array($log_directory . "web.config"))); //remove web.config and re-index array
     165   
     166            foreach ($files as $file){
     167                $date = str_replace('.log', '', basename($file));
     168                $file_date = new DateTime($date);
     169                $today_date = function_exists('wp_date') ? wp_date('Y-m-d') : date('Y-m-d');
     170                $today = new DateTime($today_date);
     171                $interval = (int)$file_date->diff($today)->format('%R%a');
     172   
     173                if($interval > $retain_files){
     174                    unlink($file);
     175                }
     176            }
     177        }*/
     178    /**
     179     * Delete the oldest log files keeping the latest 90 log files.
     180     */
    158181    public function clean_log_directory()
    159182    {
    160183        $log_directory = AIFS_UPLOAD_DIR . DS . 'log' . DS;
    161184        $retain_files = 90;
    162         //Previous value was 45
    163         $files = glob( $log_directory . '*', GLOB_MARK );
    164         $files = array_values( array_diff( $files, array( $log_directory . "web.config" ) ) );
    165         //remove web.config and re-index array
    166         foreach ( $files as $file ) {
    167             $date = str_replace( '.log', '', basename( $file ) );
    168             $file_date = new DateTime( $date );
    169             $today_date = ( function_exists( 'wp_date' ) ? wp_date( 'Y-m-d' ) : date( 'Y-m-d' ) );
    170             $today = new DateTime( $today_date );
    171             $interval = (int) $file_date->diff( $today )->format( '%R%a' );
    172             if ( $interval > $retain_files ) {
    173                 unlink( $file );
     185        $files = glob( $log_directory . '*.log' );
     186        $file_count = count( $files );
     187       
     188        if ( $file_count > $retain_files ) {
     189            // Sort the files by creation date in descending order
     190            usort( $files, function ( $a, $b ) {
     191                $aDate = str_replace( '.log', '', basename( $a ) );
     192                $bDate = str_replace( '.log', '', basename( $b ) );
     193                return strtotime( $bDate ) - strtotime( $aDate );
     194            } );
     195            // Delete the extra files beyond the retention limit
     196            for ( $i = $retain_files ;  $i < $file_count ;  $i++ ) {
     197                unlink( $files[$i] );
    174198            }
    175199        }
     200   
    176201    }
    177202   
  • auto-install-free-ssl/trunk/assets/css/aifs-admin.css

    r2914082 r2921218  
    342342}
    343343.aifs-pricing{
    344     margin-bottom: 30px;
     344    margin-top: 3%;
     345    margin-bottom: 3%;
    345346    background:#fff;
    346347    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
     
    511512
    512513.aifs-banner-intro{
    513 
     514    text-align: center;
    514515}
    515516
  • auto-install-free-ssl/trunk/auto-install-free-ssl.php

    r2914082 r2921218  
    77 * Plugin URI:  https://freessl.tech
    88 * Description: Generate & install Free SSL Certificates, activate force HTTPS redirect with one click to fix insecure links & mixed content warnings, and get automatic Renewal Reminders.
    9  * Version:     3.4.3
     9 * Version:     3.5.0
    1010 * Requires at least: 4.1
    1111 * Requires PHP:      5.6
     
    669669        $email = new Email();
    670670        $email->send_ssl_renewal_reminder_email();
     671        //Clean the log directory
     672        $logger = new AutoInstallFreeSSL\FreeSSLAuto\Logger();
     673        $logger->clean_log_directory();
    671674    }
    672675
     
    851854   
    852855    if ( aifs_is_free_version() ) {
    853         $documentation_link = "https://wordpress.org/plugins/auto-install-free-ssl/#installation";
     856        $documentation_link = "https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=users_website&utm_medium=dashboard&utm_campaign=aifs_free&utm_content=footer";
    854857    } else {
    855858        $documentation_link = "https://freessl.tech/free-ssl-certificate-for-wordpress-website/#documentation";
    856859    }
    857860   
    858     return '<div ' . aifs_powered_by_css_style() . ' style="margin-top: 4%;">
    859             <p>' . __( "Need Help", 'auto-install-free-ssl' ) . '? <a href="' . $help_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a> <span style="margin-left: 15%;">' . __( "For documentation", 'auto-install-free-ssl' ) . ', <a href="' . $documentation_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a>.</span> <span style="margin-left: 15%;"></span>
    860             </p>
    861         </div>';
     861    $review_link = "https://wordpress.org/support/plugin/auto-install-free-ssl/reviews/?filter=5#new-post";
     862    $html = '<div ' . aifs_powered_by_css_style() . ' style="margin-top: 4%;">
     863            <p>' . __( "Need Help?", 'auto-install-free-ssl' ) . ' <a href="' . $help_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a> <span style="margin-left: 15%;">' . __( "For documentation", 'auto-install-free-ssl' ) . ', <a href="' . $documentation_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a>.</span> ';
     864    if ( get_option( 'aifs_display_review' ) !== false ) {
     865        /* translators: %1$s: Opening HTML 'a' tag; %2$s: Closing 'a' tag; (Opening and closing 'a' tags create a hyperlink with the enclosed text.) */
     866        $html .= '<span style="float: right; margin-right: 2%;">' . sprintf( __( 'Please rate us %1$s★★★★★%2$s on %1$sWordPress.org%2$s to help us spread the word.', 'auto-install-free-ssl' ), '<a href="' . $review_link . '" target="_blank">', '</a>' ) . '</span>';
     867    }
     868    $html .= '</p>
     869            </div>';
     870    return $html;
    862871}
    863872
  • auto-install-free-ssl/trunk/readme.txt

    r2914082 r2921218  
    77Requires at least: 4.1
    88Tested up to: 6.2
    9 Stable tag: 3.4.3
     9Stable tag: 3.5.0
    1010Requires PHP: 5.6
    1111Development location: https://freessl.tech
     
    2727
    2828
    29 `    319,500+ DOWNLOADS!!`
     29`    325,000+ DOWNLOADS!!`
    3030
    3131
     
    7474* If needed, you can revoke any SSL certificate and change your Let's Encrypt™ account key.
    7575
    76 [BUY PREMIUM VERSION](https://freessl.tech/free-ssl-certificate-for-wordpress-website/)
     76[BUY PREMIUM VERSION](https://freessl.tech/free-ssl-certificate-for-wordpress-website/?utm_source=wp_org&utm_medium=description&utm_campaign=aifs_free&utm_content=premium_features)
    7777
    7878
     
    9090## Documentation
    9191
    92 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab for documentation.
     92Please [click here](https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=wp_org&utm_medium=description&utm_campaign=aifs_free&utm_content=documentation) for the documentation.
    9393
    9494
     
    105105## Credits
    106106* [Let's Encrypt™](https://letsencrypt.org)
    107 * I developed this plugin based on the PHP client/app ['FreeSSL.tech Auto'](https://freessl.tech), which I developed with a massive rewrite of [Lescript](https://github.com/analogic/lescript).
     107* I developed this plugin based on the PHP client/app ['FreeSSL.tech Auto'](https://freessl.tech/?utm_source=wp_org&utm_medium=description&utm_campaign=aifs_free&utm_content=credits), which I developed with a massive rewrite of [Lescript](https://github.com/analogic/lescript).
    108108* [cPanel](https://cpanel.com)
    109109
     
    127127### AUTOMATIC INSTALLATION (POPULAR AND EASIEST)
    128128
    129 1. Log in to your WordPress dashboard (backend/ admin area).
     1291. Log in to the WordPress dashboard (backend/ admin area).
    1301301. Then navigate to the 'Plugins' menu in the sidebar, and click the 'Add New' option.
    131 1. In the 'Search plugins…' field, type this keyword: 'Auto-Install Free SSL', or you may type 'Auto-Install' too.
     1311. In the 'Search plugins…' field, type this keyword: 'Auto-Install'.
    1321321. Once you find this plugin, click 'More Details' and the 'Install Now' button.
    1331331. Finally, click the 'Activate' button.
     
    1401401. Download the 'Auto-Install Free SSL' plugin zip file by clicking the 'Download' button at the top-right of this page.
    141141
    142 Now check either the cPanel or FTP section below. If your web hosting control panel is other than cPanel, the steps are similar to cPanel.
     142Now check either the WordPress, cPanel or FTP section below. If your web hosting control panel is other than cPanel, the steps are similar to cPanel.
     143
     144### WordPress
     145* Log in to the WordPress dashboard.
     146* Then navigate to the 'Plugins' menu in the sidebar, and click the 'Add New' option.
     147* Click 'Upload Plugin' button.
     148* Click 'Choose File' button and select the downloaded zip file.
     149* Click 'Install Now' button.
     150* Click 'Activate Plugin' button.
     151
     152Now, check the AFTER ACTIVATION section below.
    143153
    144154### cPanel
     
    152162
    153163### FTP
    154 * Extract the plugin's zip file to your computer. You see a folder 'auto-install-free-ssl.3.3.1' (the latest version in place of 3.3.1), and inside it, the **'auto-install-free-ssl'** folder. You need to upload this.
     164* Extract the plugin's zip file to your computer. You see a folder 'auto-install-free-ssl.x.x.x' (the latest version in place of x.x.x), and inside it, the **'auto-install-free-ssl'** folder. You need to upload this.
    155165* Log in to your web server with your favorite FTP client (e.g., FileZilla).
    156166* Browse to the document root of your WordPress website and then the `/wp-content/plugins/` directory.
     
    169179
    1701801. After the previous step, you'll be redirected to the Generate SSL page (in most cases). Otherwise, navigate to the 'Auto-Install Free SSL' menu in the sidebar, and click the 'Generate SSL' option. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-1.png?rev=2750244)
    171 1. On the next page, i.e., the 'Generate Free SSL Certificate' page, read & agree to the Let's Encrypt™ Subscriber Agreement and FreeSSL.tech Terms of Service & Privacy Policy by clicking the relevant checkboxes. Then click the 'Generate Free SSL' button and 'OK' in the confirmation dialog box. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-2.png?rev=2750244)
     1811. On the next page, i.e., the 'Generate Free SSL Certificate' page, read & agree to the Let's Encrypt™ Subscriber Agreement and FreeSSL.tech Terms of Service & Privacy Policy by clicking the relevant checkboxes. Then click the 'Next Step' button and 'OK' in the confirmation dialog box. [Screenshot here.](https://ps.w.org/auto-install-free-ssl/assets/screenshot-2.png?rev=2750244)
    1721821. Wait a few seconds. Then you see the second step: 'Verify Domain'. Please check the [screenshot](https://ps.w.org/auto-install-free-ssl/assets/screenshot-3.png?rev=2750244). You have two methods, HTTP-01 and DNS-01, to verify your domain ownership. You need to complete any one method. We are discussing only the HTTP-01 method, the most popular, easiest, and time-saving method.
    173183
     
    179189* Click the links' Challenge File 1' and 'Challenge File 2' to download the HTTP-01 challenge files. Please remember that if the ***www.*** alias of your WordPress website doesn't point to your web server (i.e., offline), you get only one challenge file.
    180190* Upload the downloaded challenge files to the **'acme-challenge'** directory.
    181 * Uploaded files should be available at 'Link 1' and 'Link 2'. Please click the links. The content/text of the links should EXACTLY match the content of the downloaded files. If it matches correctly, click the 'Verify Domain & Get SSL' button, and in the confirmation dialog box, click 'OK'.
     191* Uploaded files should be available at 'Link 1' and 'Link 2'. Please click the links. The content/text of the links should EXACTLY match the content of the downloaded files. If it matches correctly, click the 'Verify Domain (HTTP-01) & Generate Free SSL' button, and in the confirmation dialog box, click 'OK'.
    182192
    183193Now wait a few seconds, and you will see a free SSL certificate has been issued to your WordPress website. The page looks like this [screenshot](https://ps.w.org/auto-install-free-ssl/assets/screenshot-4.png?rev=2750244). Download the SSL, Private Key, and CA Bundle files (**.pem**) by clicking the links.
     
    236246However, **the premium version of this plugin generates (issue/renew) and installs the free SSL certificate automatically.** Please check the video tutorial (1:42 min) below and see how easy it is.
    237247
    238 https://www.youtube.com/watch?v=XYgNPcj_zaM
    239 
    240 Are you interested? [Click here to BUY the PREMIUM VERSION](https://freessl.tech/free-ssl-certificate-for-wordpress-website/).
     248https://vimeo.com/745390051
     249
     250Are you interested? [Click here to BUY the PREMIUM VERSION](https://freessl.tech/free-ssl-certificate-for-wordpress-website/?utm_source=wp_org&utm_medium=installation&utm_campaign=aifs_free&utm_content=premium_video).
    241251
    242252 
     
    258268= How do I install the 'Auto-Install Free SSL' plugin? =
    259269
    260 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab.
     270Please [click here](https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=wp_org&utm_medium=faq&utm_campaign=aifs_free&utm_content=faq_1#plugin-installation) to learn about plugin installation.
    261271
    262272= Does installing the free SSL plugin will instantly turn my site into HTTPS? =
    263273
    264 Sorry, it doesn't. Installing the plugin and installing SSL certificates are two different processes. After installing this plugin, you need to do some steps. Please check the 'AFTER ACTIVATION' section in the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab.
     274Sorry, it doesn't. Installing the plugin and installing SSL certificates are two different processes. After installing this plugin, you need to do some steps. Please check the 'AFTER ACTIVATION' section in the [documentation](https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=wp_org&utm_medium=faq&utm_campaign=aifs_free&utm_content=faq_2#after-activation).
    265275
    266276However, the Premium plugin installs SSL certificates with complete automation. Please check the video tutorial (1:42 min) at the top of this page and see how easy it is.
     
    272282= How do I generate a free SSL certificate? =
    273283
    274 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab. This documentation is for the free version of the plugin.
     284Please check the [documentation](https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=wp_org&utm_medium=faq&utm_campaign=aifs_free&utm_content=faq_4#generate-free-ssl). This documentation is for the free version of the plugin.
    275285
    276286If you want complete automation, please check the Premium version's video tutorial (1:42 min) at the top of this page.
     
    278288= How do I install an SSL certificate on my WordPress website? =
    279289
    280 Please check the [installation](https://wordpress.org/plugins/auto-install-free-ssl/#installation) tab.
     290Please [click here](https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=wp_org&utm_medium=faq&utm_campaign=aifs_free&utm_content=faq_5#install-free-ssl) to learn about installing an SSL certificate on your WordPress website.
     291
     292FYI, the Premium version installs SSL certificates with complete automation.
    281293
    282294= I see a blank page when I try to generate an SSL certificate. How can I fix it? =
Note: See TracChangeset for help on using the changeset viewer.