Jump to content

Search the Community

Showing results for tags 'cetificado ssl'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • About us
    • Our board
    • Webhosting Bar
    • Deals, partnerships
  • Administração
    • Running a Webhosting business
    • Design & Development
    • E-commerce
    • Financeiro
    • Legal
    • Marketing & SEO
    • Customer support
    • webhosting managers
  • Hospedagem
    • Domains & DNS
    • Webhosting in general
    • Revendas
    • VPS & Cloud Computing
    • Dedicated servers
    • Co-location & Datacenters
    • Emails & Database
    • Streaming & Teamspeak
    • Control panels & Softwares
    • Security
  • Classifieds
    • Domains & DNS Classifieds
    • Webhosting classifieds
    • Reseller classifieds
    • VPS & Cloud classifieds
    • Dedicated servers classifieds
    • Streaming & TeamSpeak Classifieds
    • Selling and buying companies
    • Partnerships and Sponsorship
    • Services & Jobs
    • Other offers

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Name

Found 1 result

  1. Olá pessoal meu 4° tópico de hoje! hehe' Esse é pequeno é mini. Para forçar seu Site a abrir sempre em https (SSL) 1ª) Alterando seu arquivo .htaccess Esta á a alternativa que considero mais simples e prática. Basta apenas inserir este código em seu .htaccess: RewriteCond %{HTTPS} !=on RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] :::::::::::::::::::::::::::::::::::::::::::::::::::::: 2ª) Através do PHP Para aqueles que, por algum motivo, não podem alterar o .htaccess, há esta function que resolve o problema. <?php function ForceHTTPS() { if ($_SERVER[‘HTTPS’] != "on") { $url = $_SERVER[‘SERVER_NAME’]; $new_url = "https://" . $url . $_SERVER[‘REQUEST_URI’]; header("Location: $new_url"); exit; } } ?>


×
×
  • Create New...