Web Administration > Server Administration

redirect code for http to https

(1/1)

mariya:
 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.

Navigation

[0] Message Index

Go to full version