1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest Last month we upgraded BlackHatWorld.com to a new platform - . If you notice anything that requires attention please start a new thread here.
    Dismiss Notice

I Need Help with REdirect from HTTP to HTTPS

Discussion in 'Domain Names & Parking' started by dudemike, Dec 9, 2012.

  1. dudemike

    dudemike Power Member

    Joined:
    Jan 20, 2009
    Messages:
    535
    Likes Received:
    94
  2. pander

    pander Newbie

    Joined:
    Dec 9, 2012
    Messages:
    15
    Likes Received:
    0
    Can you give a little more information?

    Does it need to be a link/button or automated?
     
  3. qrazy

    qrazy Senior Member

    Joined:
    Mar 19, 2012
    Messages:
    1,101
    Likes Received:
    1,672
    Location:
    Banana Republic
    First you should install or enable SSL(Secure Socket Layer) in your server to have https url.
     
  4. Daniel0cean

    Daniel0cean Regular Member

    Joined:
    Aug 18, 2010
    Messages:
    473
    Likes Received:
    119
    Occupation:
    Freelance WebMaster
    Location:
    OnLine
    Home Page:
    use this mod_rewrite code in your .htaccess to force SSL:

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
     
    • Thanks Thanks x 1
  5. GiorgioB

    GiorgioB Supreme Member

    Joined:
    Feb 28, 2012
    Messages:
    1,288
    Likes Received:
    1,317
    Occupation:
    Making money
    Location:
    Touching the Sky
    That has nothing to do with your domain but with your website. Your domain is one.mydomain.com. To allow an ecrypted connection, you need to install a SSL on your server.
     
  6. phpdecoder

    phpdecoder Newbie

    Joined:
    Sep 1, 2012
    Messages:
    23
    Likes Received:
    0
    Home Page:
    You will need SSL certificate for redirecting your domain to HTTPS . Google for SSL certificate installation on cpanel.You will get lots of useful & easy tuts.
     
  7. princely

    princely Newbie

    Joined:
    Dec 10, 2012
    Messages:
    1
    Likes Received:
    0
    hi everyone. i need a help. im doing a classified website.i want the advertisements to be displayed when each category is clicked
    if any one know the coding for it kindly help me. thank u so so much
     
  8. seoways

    seoways Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 19, 2009
    Messages:
    4,387
    Likes Received:
    720
    Location:
    Behind you!
    Dudemike,

    You should purchase SSL certificate from your domain registrar or your webhosting company. After that you can install SSL to your cpanel, and you jus rewrite htaccess.
     
  9. dudemike

    dudemike Power Member

    Joined:
    Jan 20, 2009
    Messages:
    535
    Likes Received:
    94
    thanks guys for reply, well what i did i purchased ssl through godaddy and they told me that i need to talk to my webmaster the problem is i got this wordpress theme long ago and cant get in touch with the company, btw the reason i needed subdomain to have https is cause i have a game for fb and on app they ask http address and https address....
     
  10. Jenny30

    Jenny30 Regular Member

    Joined:
    Feb 2, 2012
    Messages:
    478
    Likes Received:
    32
    So you got ssl so does it work now?? is it converted to https??
     
  11. dudemike

    dudemike Power Member

    Joined:
    Jan 20, 2009
    Messages:
    535
    Likes Received:
    94
    no they told me i have to create redirect
     
  12. dudemike

    dudemike Power Member

    Joined:
    Jan 20, 2009
    Messages:
    535
    Likes Received:
    94
    thank you dude i did it and it works thanks a lot