Skip to main content

Comments

6 comments

  • CarlosManceraK
    have you tried using this code? RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://dominio.com/$1 [R,L]
    0
  • furquan
    If nothing works, may be a 301 should do the trick... Redirect 301 Redirect 301 Just enter those 2 lines at the end of your script and should be fine, i guess
    0
  • cPanelLauren
    Let us know if the advice provided helps and if you have any further issues.
    0
  • amexbaczek
    Thanks guys for your replays! I will check yours suggests as soon as posible and answer you. Best regards!
    0
  • HostNoc
    You can try this as well RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    0
  • amexbaczek
    Hello! I'm sorry to answer so late. Unfortunately, your suggestions do not work. Maybe because my English is poor :( I have a page on Joomla ]\ and I have a 301 redirect from http:// | www | http:// www - and everything works fine. But the problem is when I give the address, e.g. https://[COLOR=rgb(184, 49, 47)]www[COLOR=rgb(184, 49, 47)].domain.tld or [COLOR=rgb(184, 49, 47)]. amex-baczek.pl/oferta/okna/okna-pvc then he redirects me to the address:
    0

Please sign in to leave a comment.