arrow_upward

Poll: What's your preferred way?
You do not have permission to vote in this poll.
Plugin
0
0%
.htaccess file
4
100.00%
Total
4 vote(s)
100%

* You voted for this item.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin vs. .htaccess
#1
Hi guys,

I've made this post out of curiosity to know which method do you all prefer to redirect HTTP traffic to HTTPS. There are two solutions possible:

  1. Plugins(like Really Simple SSL)
  2. .htaccess file redirect
Plugins like Really Simple SSL(and there are lots out there...) make it really easy for users to the HTTPS redirect. This is especially suggested for newbies who aren't much-aquainted to programming files themselves. It provides a really simple interface for users to do what they intend in the click of a button. However, This has a flip side too. That is, only the WordPress site gets redirected. Other direct access images or files remain open on HTTP port.

The next method - the .htaccess file method -  is my personal favorite. This is because it redirects all requests on HTTP to HTTPS. There isn't much to understand. I will be providing the code. Just copy and paste this on top of all contents in your .htaccess file in your WP directory.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://yourdomain.com/$1 [R,L]
</IfModule>

And you shall start realizing the magic. Feel free to post your opinion too - I am very eager to hear them Also created a poll so that you can vote for your preferred method. Cheers!

Regards,
Sayan Bhattacharyya,

Heartiest thanks to Post4VPS and Virmach for my wonderful VPS 9!


Messages In This Thread
Plugin vs. .htaccess - by Sn1F3rt - 08-02-2019, 11:58 AM
RE: Plugin vs. .htaccess - by SRTerabytes - 08-02-2019, 01:12 PM
RE: Plugin vs. .htaccess - by Sn1F3rt - 08-02-2019, 03:03 PM
RE: Plugin vs. .htaccess - by Mashiro - 08-02-2019, 05:23 PM
RE: Plugin vs. .htaccess - by Sn1F3rt - 08-02-2019, 05:36 PM
RE: Plugin vs. .htaccess - by chanalku91 - 08-03-2019, 03:52 AM
RE: Plugin vs. .htaccess - by Melvin - 08-03-2019, 02:07 PM
RE: Plugin vs. .htaccess - by Kururin - 08-03-2019, 09:41 PM
RE: Plugin vs. .htaccess - by deanhills - 08-04-2019, 03:46 AM
RE: Plugin vs. .htaccess - by Kururin - 08-06-2019, 05:33 AM
RE: Plugin vs. .htaccess - by Manal - 08-05-2019, 01:52 PM
RE: Plugin vs. .htaccess - by Sn1F3rt - 08-05-2019, 02:07 PM
RE: Plugin vs. .htaccess - by Manal - 08-05-2019, 02:28 PM
RE: Plugin vs. .htaccess - by Sn1F3rt - 08-05-2019, 03:19 PM
RE: Plugin vs. .htaccess - by Mashiro - 08-05-2019, 05:01 PM
RE: Plugin vs. .htaccess - by Sn1F3rt - 08-05-2019, 05:30 PM

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting