Divert Your WordPress Website From HTTP to HTTPS Without Installing any Plugin

 In this post, you will figure out how you can divert your WordPress site from HTTP to HTTPS without introducing any module, just by altering the .htaccess record on your web worker. 


You can likewise do this utilizing a module however as you probably are aware introducing considerably more module will make your site more slow that contrarily impacts the SEO. By perusing this post you will have the option to do this without help from anyone else and you can spare your space for other more fundamental modules.


For what reason do You Need this? ?


Perhaps you as of now have actuated the SSL testament for your site. Yet at the same time, you need to divert from HTTP to HTTPS since when any client enters just the area name (example.com) of your site in the inquiry bar without HTTPS then the client won't be diverted to HTTPS rendition of your site. The program will show your site as unstable to the client and furthermore it can influence your SEO positioning. 


Constraining HTTP to HTTPS on All Traffic 


One of the numerous capacities you can perform by means of .htaccess is the 301 sidetracks. This is significant that your site should Automatically be diverted from (http://example.com) to (https://example.com or https://www.example.com) to get AdSense Approval. 


On the off chance that your site won't consequently divert from HTTP to HTTPS, at that point AdSense may not endorse your site, they will send a "site down or inaccessible" message. 


You can actuate the component to drive HTTPS on all approaching traffic by following these means:

Go to File Manager in your facilitating cPanel and discover the SSL authentication area, there you will see a "Power HTTPS" choice snap on it. Presently the entirety of your approaching traffic will naturally divert to HTTPS. 


Spare the Changes. 


Presently Make Some Changes in WordPress Dashboard 


Presently you likewise need to roll out certain improvements in your WordPress dashboard to work this redirection accurately. 


  • Login to WordPress dashboard > Click on Settings > General 


  • In the overall settings region, you will see two choices (I) WordPress Address (URL) (II) Site Address (URL) 


  • Presently Change the two URLs to https://www.yourDomain.com 


  • Again on the off chance that you would prefer not to utilize www, at that point you should eliminate it from both WordPress and Site Address URLs 


Snap on Save Changes.