How To Replace All Url With https?

by 6 replies
8
I have Purchased ssl Last week but i don.t no how to replace all the url of my website...any suggestion...
#website design #https #replace #url
  • [DELETED]
  • My .htaccess file says the following:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*$
  • Add to .htaccess file incPanel:

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

    Also, you can also redirect based on port number, for example:

    RewriteCond %{SERVER_PORT} ^80$
    RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

    This will redirect all requests received on port 80 to HTTPS
  • You can easily replace all URLs with https easily with step-by-step instructions. Grab resource links from here https://www.warriorforum.com/website...2Fpost11037165
  • thanks for your suggession..
  • [DELETED]
    • [ 1 ] Thanks
    • [1] reply
  • [DELETED]
  • If you use WordPress just search the plugin repository for "force https" plugins.
  • [DELETED]
  • [DELETED]
  • [DELETED]

Next Topics on Trending Feed