• Resolved AZAD

    (@theworkshop)


    Dear Support ,

    I am using free version of Really Simple SSL plugin and SSL redirect codes in htaccess and Wp – Config in a same time below :
    Htaccess :

    <IfModule mod_rewrite.c>
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>

    Wp – Config

    define(‘FORCE_SSL_LOGIN’, true);
    define(‘FORCE_SSL_ADMIN’, true);

    Please let me know if there is any conflict between these codes and Really Simple SSL plugin .

    Sincerely
    AZAD

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark

    (@markwolters)

    Hi @theworkshop,

    the .htaccess redirect will also force /wp-admin/ over SSL, therefore the `define(‘FORCE_SSL_LOGIN’, true);
    define(‘FORCE_SSL_ADMIN’, true);`

    can be safely removed.

    Let me know if you have any other questions.

    Thread Starter AZAD

    (@theworkshop)

    Dear Mark ( @markwolters )

    Thanks for your response .

    According to your reply , I found that it is safe to using the .htaccess redirect code and Really Simple SSL plugin in a same time , is it ?

    Best regards ,
    AZAD

    Plugin Author Mark

    (@markwolters)

    Hi @theworkshop,

    you can use the .htaccess redirect included in Really Simple SSL by enabling the ‘.htaccess redirect’ option in the Settings->SSL menu. That will automatically apply the correct redirect for your site. The definitions or WP_HOME and WP_SITEURL can be removed from your wp-config.php file.

    Plugin Support jarnovos

    (@jarnovos)

    Hi @theworkshop,

    Can we provide any further assistance with this, or have your questions been answered already?

    Feel free to reach out if you have any further questions.

    Kind regards,
    Jarno

    Thread Starter AZAD

    (@theworkshop)

    Dear Support ,

    Thanks for your response .

    You may close this topic .

    Best regards ,
    AZAD

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘SSL redirect codes’ is closed to new replies.