Jump to content

This line in htaccess should be?

Recommended Posts

37 minutes ago, Tarun said:

This might be a bit more flexible for you.


RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]


RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

Just pick whichever works best for you.

if i dont use https should i still add that part too?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...