How To Replace All Url With https?

6 replies
  • WEB DESIGN
  • |
I have Purchased ssl Last week but i don.t no how to replace all the url of my website...any suggestion...
#https #replace #url
  • Profile picture of the author Experito
    My .htaccess file says the following:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^.*$
    {{ DiscussionBoard.errors[11305752].message }}
  • Profile picture of the author Marani
    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
    {{ DiscussionBoard.errors[11307277].message }}
  • Profile picture of the author richardZ
    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
    {{ DiscussionBoard.errors[11307791].message }}
  • Profile picture of the author adobomovie
    thanks for your suggession..
    {{ DiscussionBoard.errors[11307961].message }}
  • Profile picture of the author Itswebexperts
    [DELETED]
    {{ DiscussionBoard.errors[11309035].message }}
  • Profile picture of the author frankl
    If you use WordPress just search the plugin repository for "force https" plugins.
    {{ DiscussionBoard.errors[11326674].message }}

Trending Topics