HTTP error
#19

Quote:
Originally Posted by bgedition
View Post
I presume your web server is hosted. You could ask the support team of the host company. Or may be the .htaccess, that redirects, is located in the directory where public_html is or may be your web server is not Apache but Nginx in which case .htaccess will not work.

Edit: I saw your edit
Change these three lines with the snippet I gave you earlier:
(These are the lines that redirect the whole traffic to https)
Code:
RewriteCond %{HTTP_HOST} ^mydomain\.ro [NC] 
RewriteCond %{SERVER_PORT} 80  
RewriteRule ^(.*)$ https://mydomain.ro/$1 [R,L]
I modify .htaccess file, still redirects me to https
PHP Code:
RewriteEngine On 
RewriteCond 
%{HTTP_HOST} ^mydomain\.ro [NC]
RewriteCond %{SERVER_PORT80 
RewriteCond 
%{REQUEST_URI} !^/sendemail.php 
RewriteRule 
^(.*)$ https://mydomain.ro/$1 [R,L]
RewriteRule ^whatsapp"https\:\/\/chat\.whatsapp\.com\/Jsb7br8C8Cw7995AWb5h4z" [R=301,L]
RewriteCond %{HTTP_HOST} ^mydomain\.ro$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mydomain\.ro$
RewriteRule ^sugestii"https\:\/\/www\.forum\.mydomain\.ro\/index\.php\?\/forum\/82\-sugestii\/" [R=301,L]
RewriteCond %{HTTP_HOST} ^mydomain\.ro$ [OR]
RewriteCond %{HTTP_HOST} ^www\.mydomain\.ro$
RewriteRule ^discord"https\:\/\/discord\.gg\/KWWRDZj" [R=301,L
Reply


Messages In This Thread
HTTP error - by qRazor - 27.03.2019, 14:02
Re: HTTP error - by justinnater - 28.03.2019, 03:06
Re: HTTP error - by qRazor - 28.03.2019, 14:42
Re: HTTP error - by qRazor - 28.03.2019, 15:28
Re: HTTP error - by justinnater - 28.03.2019, 17:00
Re: HTTP error - by qRazor - 29.03.2019, 13:20
Re: HTTP error - by bgedition - 29.03.2019, 15:00
Re: HTTP error - by bgedition - 29.03.2019, 15:23
Re: HTTP error - by justinnater - 29.03.2019, 17:01
Re: HTTP error - by bgedition - 29.03.2019, 17:13
Re: HTTP error - by justinnater - 29.03.2019, 17:26
Re: HTTP error - by bgedition - 29.03.2019, 17:33
Re: HTTP error - by qRazor - 29.03.2019, 17:35
Re: HTTP error - by bgedition - 29.03.2019, 17:47
Re: HTTP error - by qRazor - 29.03.2019, 18:04
Re: HTTP error - by bgedition - 29.03.2019, 18:14
Re: HTTP error - by qRazor - 29.03.2019, 18:22
Re: HTTP error - by bgedition - 29.03.2019, 18:34
Re: HTTP error - by qRazor - 29.03.2019, 18:50
Re: HTTP error - by bgedition - 29.03.2019, 18:54
Re: HTTP error - by qRazor - 29.03.2019, 18:57

Forum Jump:


Users browsing this thread: 1 Guest(s)