![]() |
| |||||||
|
| |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
| hello, recently I bought a domain name and installed SSL from Godaddy.com. Now the problem is that I am able to access the my site using http:// as well as https://. Could you please suggest me how to stop this? I want people to use only https and when some one without knowing types http:// they should be redirected to https. I asked their help support, well they said one way is to redirect but how do i redirect? I mean, in the server there is no separate folders for http and https, so how will I do that!!! I would appreciate any one who is able to help me. thanks sd |
| |
|
#2
| ||||
| ||||
| Stick this in a file called .htaccess in the ROOT of your web server: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
__________________ I think I am a signature, therefore I exist! I believe a higher being has me as a signature...![]() |
|
![]() |
| Thread Tools | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recommend me some pc security | bones | Virus, Spyware & Security | 4 | 6th Jul 2008 09:00 PM |
| Best Security Software. | Tronix | Virus, Spyware & Security | 7 | 29th Nov 2007 08:43 PM |
| Test Your Security | Krlll | Virus, Spyware & Security | 3 | 5th Aug 2007 07:36 PM |
| Low resource security | Aries | Virus, Spyware & Security | 12 | 24th Jul 2007 11:27 AM |
| what is WEP security on my psp? | kelly m | PC & Console Gaming | 4 | 31st Mar 2007 04:54 AM |
| Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc. |