Here is a code block template for a standard NGINX redirect to SSL. This is a wildcard redirect so it will preserve the original URI.
SSL
3 posts
Login to your cPanel account. https://servername.com:2083 Either type in the search bar, or locate the ‘redirects’ module Click on ‘Redirects’ Leave the settings on “Permanent 301”, and “All Public Domains” In the ‘redirects to’ text box type in your domain name with “https” in front. Check ‘wildcard redirect’ Click “Add”
As a WordPress developer you may often find yourself at the mercy of whichever theme you are using to build a site. Poorly coded themes can create a litany of problems especially with SSL. You may often have a hard time trying to find out how a theme codes something […]