[Resolved] Which .htaccess file to edit?

Home Forums General issues Which .htaccess file to edit?

This topic contains 1 reply, has 2 voices, and was last updated by  Rogier Lankhorst 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #71139 Reply

    Paul Smith

    As per this thread https://really-simple-ssl.com/knowledge-base/preventing-subdomains-add-domains-getting-forced-https/

    The instructions on the page above state that an .htaccess file needs to be edited with a code snippet. My hosting is with CPanel. When I try to locate a single .htaccess file for SSL, the search returns five of these. Despite asking which needs to be edited, I’ve been given no clear answer. The instructions seem to suggest that only a single .htaccess is available for SSL (this is the case for my other plug-ins), so I’m baffled with what to do.

    Help greatly appreciated.

    #71141 Reply

    I’m sorry if you haven’t explained it clearly. I’ll try to correct that:

    You do not need to edit any .htacces files to enable the .htaccess redirect, because there is a setting in the plugin for that. You can enable the .htaccess redirect by going (in WordPress) to settings/ssl/settings, then enable the .htaccess 301 redirect.

    As you didn’t report any issues with that setting, I’ve assumed you haven’t tried this yet. if that setting does not work, let me know. In that case you can use the .htaccess file in your webroot. The same as the WordPress .htaccess.

    The .htaccess files in the plugin folder are used to test the htaccess redirect, and should not be edited.

    But again, I would recommend to let Really Simple SSL handle the redirect.

    If you have any questions, let me know!

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Which .htaccess file to edit?
Your information: