httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel González <>
Subject Re: [users@httpd] rewrite in .htaccess
Date Thu, 02 Jun 2016 10:27:42 GMT
On 05/24/16 6:26 PM, Miguel González wrote:
> On 05/24/16 1:51 PM, Yehuda Katz wrote:
>> Because the rewrite rule above it says it uses the last rule to run if
>> it matches (that is what [L] means). Put your new config above the
>> WordPress rule.

I can´t make it to work with HTTPS, I get a warning first as there is
not SSL certificate in

RewriteCond %{SERVER_PORT} ^443
RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^www\$
RewriteRule ^(.*)$$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^$ [OR]
RewriteCond %{HTTP_HOST} ^www\$
RewriteRule ^(.*)$$1 [R=301,L]

Do I need to get a SSL certificate for


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message