Results 1 to 3 of 3

Thread: How to redirect site from http to https?

  1. #1
    Registered
    Join Date
    Jun 2016
    Posts
    202

    How to redirect site from http to https?

    Hello friends,


    I Have face A problem In My Website,Please tell me, How to redirect site from http to https?

  2. #2
    Registered RH-Calvin's Avatar
    Join Date
    Mar 2017
    Location
    Forum
    Posts
    1,667
    You can use 301 redirect. 301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently".
    Cheap VPS Hosting | VPS Starting from $12 PER Year
    Cheap Dedicated Server | Unmetered Bandwidth | Free Setup and IPMI

  3. #3
    There are many ways you can redirect your website from http to https.

    1. Using .htaccess

    Open your .htaccess file and add this code.

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    After successfully, You will redirect your website from HTTP to HTTPS.

Similar Threads

  1. How to redirect site from http to https..?
    By gunjanjain in forum Search Engine Optimization
    Replies: 3
    Last Post: 11-12-2018, 02:16 AM
  2. Http and https for web design
    By petershene in forum HTML, CSS, Layout, and Design
    Replies: 1
    Last Post: 10-15-2017, 10:51 PM
  3. Http to Https updates
    By omkarsoft in forum Search Engine Optimization
    Replies: 0
    Last Post: 09-19-2014, 02:45 AM
  4. how to redirect to another site/page?????
    By ryanwilde in forum Website Programming & Databases
    Replies: 2
    Last Post: 05-02-2008, 02:25 PM
  5. http://www.Site.com vs. http://Site.com
    By GCT13 in forum Search Engine Optimization
    Replies: 4
    Last Post: 09-08-2003, 10:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •