Enable Apache UserDir In CentOS 7 / RHEL 7 with SELinux

How to redirect HTTP traffic to HTTPS using an .htaccess file

The below code when added to an .htaccess file will automatically redirect any traffic destined for http: to https:


This is generic code, no domain or page or subfolder needed in the htaccess code.


Redirect From Old Domain to New Domain *keeping* the query string:


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.