Install bitnami ssl certificate in wordpress in google cloud ERR_TOO_MANY_REDIRECTS in website

Keywords: WordPress - Google Cloud Platform - Technical issue - Secure Connections (SSL/HTTPS)

bndiagnostic ID: 7c7617ec-b9d8-f086-da61-0a58ff222aee

bndiagnostic output:

? Resources: Found possible issues
? Apache: Found possible issues

bndiagnostic failure reason: Las guías sugeridas no están relacionadas con mi problema.

I ran the diagnostic tool and I get the following error syntax error on line 1
The Apache configuration has errors:

AH00526: Syntax error on line 1 of 
RewriteRule: bad flag delimiters

this is what I have in line 1 of the file, I don’t understand what the syntax error may be

RewriteRule ^/(.*)$1 [R,L]# Default Virtual Host configuration.

I hope your help, thank you very much in advance

Hi @lukasmedinar,

I understand the problem is with the comment at the end of the line. However, if you want to force https, please take a look at this guide

Happy to help!

Was my answer helpful? Click on :heart:

Hello @jota , I did everything in that tutorial but it remains the same, I forgot to mention that the diagnosis also throws me this error.


The other thing that occurs to me is to delete my project and start from scratch but when installing the ssl certificate it would throw me the same error.

I hope your help, thank you very much in advance.

Hi @lukasmedinar,

Did you remove the comment at the end of the line as I mentioned above?

Creating a SSL certificate shouldn’t generate an issue in the Apache’s configuration. If you want to create a SSL certificate, could you please use our HTTPS configuration tool?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.