If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

redirect code for http to https

Started by mariya, 07-19-2017, 08:24:05

Previous topic - Next topic

mariyaTopic starter

 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.


brookeroberts7

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.

saravanan28

An HTTP request that includes a session ID cookie is subject to session hijacking attacks. It is important that if you do allow HTTP and redirect to HTTPS, that cookies are marked as secure.
  •  


Mala123

A HTTP demand that incorporates a meeting ID treat is dependent upon meeting capturing assaults. It is critical that on the off chance that you in all actuality do permit HTTP and divert to HTTPS, that treats are set apart as secure.
  •  

f1dark

An HTTP request that includes a session ID cookie is subject to session hijacking attacks.

apnagharinteriors

I recently added a 301 redirect in my .htaccess to force HTTP → HTTPS and saw a drop in mixed-content warnings. Using HTTPS feels more secure for users and helps consolidate SEO value. Would love to hear if anyone faced crawl or redirect-chain issues.
  •  


If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...