We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Too many redirects / change to SSL | Forum

Dimitris Salas
Dimitris Salas May 18 '21
Hello , I recently added SSL certificate to my website and I am trying to change it to HTTPS.

When I change the config.php from http to https i get the error too many redirects


Same goes with every change in the .htaccess.


I am using an apache server. Anyone have any idea how to I fix it?

Dimitris Salas
Dimitris Salas May 19 '21

Hello


define('OW_URL_HOME''http://www.qnest.eu/socialqnest/');

I do change it to https: but when i do it says too many redirects



Options +FollowSymLinks

RewriteEngine On


AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>



RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} !/e500\.php

RewriteCond %{REQUEST_URI} !/captcha\.php

#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php

Gerardo
Gerardo Sep 3 '23
Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog. ร้านอาหารอุบล