(please share the FULL error message you see)
Hello.
firstly apologies for my english.
I have a website that is: www.foro.rmesystems.com
and what i want to do is redirect to without www, but it doesn’t work for me.
how can i redirect my site to without www? Thanks a lot.
I leave my .htacces file.
Other Information
(other information and details relevant to your question)
.htaccess file.
RewriteEngine On
RewriteCond %(HTTP_HOST) ^www\\.
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]
# In order for the web server to process this file it must be renamed to ".htaccess"
Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.foro.rmesystems.com [NC]
RewriteRule ^(.*)$ http://foro.rmesystems.com/$1 [L,R=301]
# In order for the web server to process this file it must be renamed to ".htaccess"
Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
The RewriteEngine On statement here disables all rewrite rules defined before, including your non-www redirect. Simply remove that line to make the .htaccess rules take effect.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.foro.rmesystems.com [NC]
RewriteRule ^(.*)$ http://foro.rmesystems.com/$1 [L,R=301]
# In order for the web server to process this file it must be renamed to ".htaccess"
Options -Indexes
DirectoryIndex index.php
<IfModule mod_rewrite.c>
#RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]
</IfModule>
It seems your website does not have a valid SSL certificate.
Because your website is not secure. Please make sure that your SSL certificate is properly installed.
To use https:// you need a valid SSL certificate installed on your website. You are getting the unsuported protocol error, because a SSL certificate cannot be found. You can only use http:// without an SSL certificate. (And redirecting to without www. on http is working just fine.)
To add a SSL certificate (and https://) to your website: