Monday, August 24, 2015

How to Use SSL With Joomla


Purchase an SSL certificate from your Web hosting provider or another reseller. Have the provider enable the certificate for use on your domain.
Browse to the control panel for your Web hosting account. Use the 'File Manager' to locate the '.htaccess' file in your site's root directory. Download and save the file to your computer.
Open the '.htaccess' file with Notepad or another text editor. Add the following code to the text file:RewriteEngine onRewriteCond %{SERVER_PORT} !^443$RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [QSA,R=301,L]
Redirect permanent / https://www.yourdomainname.com
Delete the 'www.yourdomainname.com' reference and replace it with the domain name for your Joomla site. Save the file and exit the text editor program.
Open the 'File Manager' application in your website control panel. Browse to the directory on your computer where you saved the '.htaccess' file. Upload the file to the root directory of your website. Overwrite the current '.htaccess' file if prompted to do so.
Browse to the administrative page for your Joomla website and log in as an administrator.
Browse to the 'Global Configuration' link on the main control panel page in Joomla. Click the link to go to the main Joomla settings page.
Click on the 'Server' tab near the top of the 'Global Configuration' page.
Click the 'Force SSL' drop-down box and select the 'Entire Site' option. Click the 'Save' icon in the upper right corner of the 'Global Configuration' page.
Log in to the Joomla website as you normally would. Because you changed the '.htaccess' file, Joomla will now redirect normal 'http' requests to the more secure 'https' log-in page.
VPS Hosting

No comments:

Post a Comment