<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Forzare HTTPS in Wordpress 4.1]]></title><description><![CDATA[<p dir="auto">Ho notato che se forzo l'https usando i plugin di wordpress, questi riescono a farlo solo per le pagine php, ma poi tutte le immagini, il file robots.txt e tutti gli altri files statici, non vengono forzati a usare https.<br />
L'unica soluzione sembra essere quella di modificare il file .htaccess:<br />
Quali righe aggiungere al file .htaccess per forzare l'https in wordpress?</p>
]]></description><link>https://dev.connect.gt/topic/209813/forzare-https-in-wordpress-4-1</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 15:16:14 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/209813.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Jan 2015 15:15:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Mon, 19 Jan 2015 08:12:53 GMT]]></title><description><![CDATA[<p dir="auto">Se te lo ha consigliato il tuo host è ok.</p>
<p dir="auto">Dipende molto da hosting a hosting quello che puoi usare nel file .htaccess.</p>
]]></description><link>https://dev.connect.gt/post/1185019</link><guid isPermaLink="true">https://dev.connect.gt/post/1185019</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Mon, 19 Jan 2015 08:12:53 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Fri, 16 Jan 2015 17:02:52 GMT]]></title><description><![CDATA[<p dir="auto">Anche io la penso cosi', ma con .htaccess ho trovato solo problemi, eccoli:<br />
Il mio webserver mi consiglia di uare queste righe in .htaccess per forcare HTTP in HTTPS:<br />
RewriteEngine On<br />
RewriteCond %{ENV:SECURE_REDIRECT} !on<br />
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}<br />
e usandole pero ricevo solo errore e il sito non si apre.<br />
Poi con queste righe:</p>
<h1>WP REWRITE LOOP START</h1>
<p dir="auto">RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{ENV:SECURE_REDIRECT} !on<br />
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}<br />
RewriteRule ^index.php$ - [L]<br />
Con  chrome, Opera e Firefox, ricevo questo errore:<br />
Found The document has moved <a href="http://cabdrome.com" rel="nofollow ugc">cabdrome.com</a><br />
E con internet explorer questo errore:<br />
This page can’t be displayed<br />
Make sure the web address cabdromecom is correct.<br />
Look for the page with your search engine.</p>
<p dir="auto">Usando queste righe:<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{HTTPS} !=on<br />
RewriteCond %{SERVER_PORT} ^80<br />
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]<br />
RewriteRule ^index.php$ - [L]<br />
Ricevo ancora errore.</p>
]]></description><link>https://dev.connect.gt/post/1185028</link><guid isPermaLink="true">https://dev.connect.gt/post/1185028</guid><dc:creator><![CDATA[matteoraggi]]></dc:creator><pubDate>Fri, 16 Jan 2015 17:02:52 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Fri, 16 Jan 2015 16:45:29 GMT]]></title><description><![CDATA[<p dir="auto">Non ha senso lasciare cadaveri in giro <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=2190ae3dadd" class="not-responsive emoji emoji-android emoji--smile" style="height:1.4em;width:auto;vertical-align:middle" title=":D" alt="😄" /></p>
<p dir="auto">Meglio redirigere tutto.</p>
]]></description><link>https://dev.connect.gt/post/1185018</link><guid isPermaLink="true">https://dev.connect.gt/post/1185018</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Fri, 16 Jan 2015 16:45:29 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Fri, 16 Jan 2015 14:32:17 GMT]]></title><description><![CDATA[<p dir="auto">Grazie la tua dritta e' stata utile! Effettivamente il logo e un css forzavano l'http.<br />
Ora finalmente posso forzare l'https da php, e finalmente le persone vedono il sito completamente in HTTPS!<br />
Pero' il file robots.txt e tutte le immagini indicizzate in passato, rimangono in HTTP, in tutto sono penso meno di una dozzina di file. Mi chiedo allora se ha piu senso fare un redirect .htaccess del sito completo e chiudere il discorso una volta per tutte, oppure se conviene a mano creare un file di redirezioen 301 e correggere i percorsi nel google webmaster tool.</p>
]]></description><link>https://dev.connect.gt/post/1185029</link><guid isPermaLink="true">https://dev.connect.gt/post/1185029</guid><dc:creator><![CDATA[matteoraggi]]></dc:creator><pubDate>Fri, 16 Jan 2015 14:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Wed, 14 Jan 2015 19:32:48 GMT]]></title><description><![CDATA[<p dir="auto">No. Il redirect loop avviene quando ad esempio dici a "ciao" di andare su "miao" e a "miao" di andare su "ciao".</p>
]]></description><link>https://dev.connect.gt/post/1185016</link><guid isPermaLink="true">https://dev.connect.gt/post/1185016</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Wed, 14 Jan 2015 19:32:48 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Wed, 14 Jan 2015 19:14:40 GMT]]></title><description><![CDATA[<p dir="auto">Sisi, wordpress e' impostato come https nella sezione Generale. Io pensavo che succedesse l'opposto, cioe' che il redirct loop avviene quando ci sono troppi redirect impostati, i nquesto caso troppi redirect che da http mandano a https.</p>
]]></description><link>https://dev.connect.gt/post/1185027</link><guid isPermaLink="true">https://dev.connect.gt/post/1185027</guid><dc:creator><![CDATA[matteoraggi]]></dc:creator><pubDate>Wed, 14 Jan 2015 19:14:40 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Wed, 14 Jan 2015 18:48:58 GMT]]></title><description><![CDATA[<p dir="auto">Beh questo non saprei.</p>
<p dir="auto">Può essere a livello server o anche a livello applicativo.</p>
<p dir="auto">Ovvio che se prima non imposti che l'app forzi in HTTPS mettendo l'.htaccess crei il redirect loop.</p>
]]></description><link>https://dev.connect.gt/post/1185021</link><guid isPermaLink="true">https://dev.connect.gt/post/1185021</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Wed, 14 Jan 2015 18:48:58 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Wed, 14 Jan 2015 18:25:33 GMT]]></title><description><![CDATA[<p dir="auto">Si, l'errore dei loop contrastanti e' gia apparso varie volte, ma come trovo l'altro redirect?</p>
]]></description><link>https://dev.connect.gt/post/1185026</link><guid isPermaLink="true">https://dev.connect.gt/post/1185026</guid><dc:creator><![CDATA[matteoraggi]]></dc:creator><pubDate>Wed, 14 Jan 2015 18:25:33 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Wed, 14 Jan 2015 18:23:58 GMT]]></title><description><![CDATA[<p dir="auto">Hai provato a svuotare i cookie come dice il messaggio?</p>
<p dir="auto">In alternativa hai forse un loop di redirect contrastanti.</p>
]]></description><link>https://dev.connect.gt/post/1185017</link><guid isPermaLink="true">https://dev.connect.gt/post/1185017</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Wed, 14 Jan 2015 18:23:58 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Wed, 14 Jan 2015 13:47:19 GMT]]></title><description><![CDATA[<p dir="auto">Aggiungendo queste 2 righe al .htaccess:</p>
<blockquote>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>RewriteCond %{HTTPS} off</th>
</tr>
</thead>
</table>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]</th>
</tr>
</thead>
</table>
</blockquote>
<p dir="auto">Ricevo questo errore:</p>
<p dir="auto">ERR_TOO_MANY_REDIRECTSThis webpage has a redirect loopThe webpage at ----------------- has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.</p>
]]></description><link>https://dev.connect.gt/post/1185025</link><guid isPermaLink="true">https://dev.connect.gt/post/1185025</guid><dc:creator><![CDATA[matteoraggi]]></dc:creator><pubDate>Wed, 14 Jan 2015 13:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Forzare HTTPS in Wordpress 4.1 on Mon, 12 Jan 2015 15:32:49 GMT]]></title><description><![CDATA[<p dir="auto">Per il redirect da VirtualHost o .htaccess <a href="http://seoblog.giorgiotave.it/migrazione-http-https/4861" rel="nofollow ugc">qui trovi alcune indicazioni</a>, ma se vuoi anche modificare quelle incluse nei post via editor devi farlo con un po' di query SQL.</p>
]]></description><link>https://dev.connect.gt/post/1185015</link><guid isPermaLink="true">https://dev.connect.gt/post/1185015</guid><dc:creator><![CDATA[juanin]]></dc:creator><pubDate>Mon, 12 Jan 2015 15:32:49 GMT</pubDate></item></channel></rss>