arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help optimize the site for SEO
#11
Why use a plug-in at all? Navigate to the WP root directory and enable dotfiles if not done already. Then you'll see there's an htaccess file. It comes with WP installation and add the following five lines of code:

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

That's it. You'll see the magic of redirection at the cost of no security issues or any excessive resource usage.

Regards,
Sayan Bhattacharyya,

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


Messages In This Thread
Help optimize the site for SEO - by hamed - 09-14-2019, 05:32 PM
RE: Help optimize the site for SEO - by hamed - 09-15-2019, 04:26 PM
RE: Help optimize the site for SEO - by Mashiro - 09-15-2019, 02:22 PM
RE: Help optimize the site for SEO - by Mashiro - 09-15-2019, 05:50 PM
RE: Help optimize the site for SEO - by hamed - 09-22-2019, 12:20 PM
RE: Help optimize the site for SEO - by Sn1F3rt - 09-22-2019, 12:46 PM
RE: Help optimize the site for SEO - by hamed - 09-22-2019, 04:26 PM
RE: Help optimize the site for SEO - by Sn1F3rt - 09-22-2019, 04:35 PM
RE: Help optimize the site for SEO - by Mashiro - 09-22-2019, 04:39 PM
RE: Help optimize the site for SEO - by hamed - 09-22-2019, 04:51 PM
RE: Help optimize the site for SEO - by Mashiro - 09-22-2019, 04:56 PM
RE: Help optimize the site for SEO - by Sn1F3rt - 09-22-2019, 05:27 PM
RE: Help optimize the site for SEO - by xdude - 09-26-2019, 05:53 AM

Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
14,233
10-14-2021, 05:19 AM
Last Post: harry_v
12,022
04-17-2020, 06:39 PM
Last Post: hamed
22,025
07-30-2017, 04:33 PM
Last Post: xdude

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