redirect code for http to https

Author Topic: redirect code for http to https  (Read 3095 times)

Offline mariyaTopic starter

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 1
  • Posts: 44
  • Karma: 0
redirect code for http to https
« on: 07-19-2017, 07:24:05 »
 We used redirect code for non www version to www verison in apache server.Now i am planning to move my website http to https.i want to redirect code for http to https without affecting the seo ranking.So can any plz tell what is code i need to put in .htaccess file.


Offline brookeroberts7

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 1
  • Posts: 166
  • Karma: 0
Re: redirect code for http to https
« Reply #1 on: 08-11-2020, 05:03:09 »
Redirecting HTTP to HTTPS
Redirect All Web Traffic. If you have existing code in your .htaccess, add the following: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
Redirect Only a Specific Domain. ...
Redirect Only a Specific Folder.
[Fitted wardrobes Sutton Coldfield]Fitted wardrobes Sutton Coldfield[/Fitted wardrobes Sutton Coldfield]california payday loans

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
6553 Views
Last post 05-13-2013, 23:35:33
by johncruz
0 Replies
2666 Views
Last post 04-25-2015, 23:00:10
by immediate
0 Replies
1485 Views
Last post 11-22-2016, 04:51:01
by mahisharma2
7 Replies
2937 Views
Last post 09-15-2017, 01:12:05
by neelseofast
0 Replies
761 Views
Last post 05-26-2018, 12:21:12
by ceomdali