[CoursePress Pro] Add SSL to my site with any problem

When Try to add the SSL forced the htaccess and change de database from http to https. Coursepress is broken try to access to the course units and appears blank and show the message "Almost there", how can i install the SSL without coursepress broken?

  • Kasia Swiderska

    Hello Alejandra,

    When you changed database to https - have you changed all the urls there or only Home and Site URL?
    CoursePress should work correctly on SSL. I did a quick test on my lab site on SSL and issues you are describing are not there.
    Would you mind allowing support access so we can have a closer look at this?
    To enable support access you can follow this guide here:
    https://premium.wpmudev.org/docs/getting-started/getting-support/#chapter-5

    kind regards,
    Kasia

  • Alejandra

    Hello I add the access to the site: certificacion.movimientointeligente.com

    The problem start just when change in general->settings-> url http to https in wordpress.

    These are the problems: In this url https://certificacion.movimientointeligente.com/mi-formacion I see all my courses, and when click on the red button "Ir a mis clases" (Go to my classes) is sent to courses/namecourse/units

    But if I login like Admin i receive 404 error and if i login like student I receive a blank page with the message "Almost there!".

    I need to use SSL so i don't know why is broken coursepress just for change the url from http to https.

  • Kasia Swiderska

    Hello Alejandra,

    I checked your site and inside, in settings everything looks good - urls are looking correctly, there is no inconsistency with http/https, I tried flushing permalinks, but it didn't help.
    I would like to see if there is anything in the debug log to see if there are errors that would reveal why this is happening.
    To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
    define('WP_DEBUG', true);
    In order to enable the error logging to a file on the server you need to add yet one more similar line:

    define( 'WP_DEBUG_LOG', true );

    In this case the errors will be saved to a debug.log log file inside the /wp-content/directory.

    Depending on whether you want your errors to be only logged or also displayed on the screen you should also have this line there, immediately after the line mentioned above:

    define( 'WP_DEBUG_DISPLAY', false );

    The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

    I would need then to see content of the debug.log file - so please upload it to service like a Dropbox and paste link here.

    kind regards
    Kasia

  • Kasia Swiderska

    Hello Alejandra,

    Before I open a ticket for Second Line Support developers I am still obligated to troubleshoot this issue. One of the steps is debugging and checking if everything is setup correctly - so I can provide this information to our coding experts.
    If you have staging site where this issue occurs and where we can freely troubleshoot, please provide access to it. Please send in the following via our secure contact form https://premium.wpmudev.org/contact/#i-have-a-different-question :

    - Mark to my attention, the subject line should contain only: ATTN: Kasia Swiderska
    - Do not include anything else in the subject line, doing so may delay our response due to how email filtering works.
    - Link back to this thread
    - Include WordPress admin access details (login address, username & password)
    - Include FTP log-in details (hostname, username & password)
    - Include PhpMyAdmin credentials
    - Include any relevant URLs for your site

    IMPORTANT: Please make sure you select "I have a different question" for your topic, so it doesn't go back to the forums - this and the subject line ensure that it gets assigned to me.

    Please confirm here that you send those credentials

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.