Visualizzazione risultati 1 fino 3 di 3

Discussione: redirect http to https

  1. #1
    professioneslot non è connesso Neofita
    Data registrazione
    03-06-2014
    Messaggi
    16

    Predefinito redirect http to https

    salve a tutti, ho attivato https tramite "gestione risorse", inotre ho attivato "Riscrittura automatica link HTTP".
    Ho anche modificato il file .htaccess per la redirect di tutte le url http verso https. Però sembra non funzionare. se incollo nel browser http://professioneslot.altervista.org/ non viene eseguita alcuna redirect. Mi potete aiutare?

    questo il contenuto del file .htaccess

    -----

    Codice:
    RewriteEngine on
    #RewriteCond %{REQUEST_URI} !(\maintenance\.html|\.gif|\.jpg|\.png)$ [NC]
     
    #RewriteRule $ /maintenance.html [R=302,L] 
    
    # Some hosts require RewriteBase to make RewriteRules work.
    RewriteBase /
    
    # Google SEO workaround for search.php highlights:
    # Make this rule the first rewrite rule in your .htaccess!
    RewriteRule ^([^&]*)&(.*)$ https://professioneslot.altervista.org/$1?$2 [L,QSA,R=301]
    
    # Google SEO 404:
    ErrorDocument 404 /misc.php?google_seo_error=404
    
    # Google SEO Sitemap:
    RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]
    
    # Google SEO URL Forums:
    RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]
    
    # Google SEO URL Threads:
    RewriteRule ^Thread\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]
    
    # Google SEO URL Announcements:
    RewriteRule ^Announcement\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]
    
    # Google SEO URL Users:
    RewriteRule ^User\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]
    
    # Google SEO URL Calendars:
    RewriteRule ^Calendar\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]
    
    # Google SEO URL Events:
    RewriteRule ^Event\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

  2. #2
    L'avatar di alemoppo
    alemoppo è connesso ora Staff AV
    Data registrazione
    24-08-2008
    Residenza
    PU / BO
    Messaggi
    22,064

    Predefinito

    Per forzare il sito in https, vedi qui.

    Ciao!

  3. #3
    professioneslot non è connesso Neofita
    Data registrazione
    03-06-2014
    Messaggi
    16

    Predefinito

    grazie, sembra funzionare bene!
    pensavo di dover cambiare anche l'indirizzo del forum nella pannello di amministrazione -> Configurazione -> Configurazione generale. ma mettendo https va in errore, lasciando http funziona tutto.

Tags for this Thread

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •