WordPress: Redirect HTTP to HTTPS in Apache
- Dec
- 08
- Posted by TKH Specialist
- Posted in apache
To redirect all of your HTTP traffic to HTTPS on WordPress installations using an Apache web server, add the following code to your .htaccess file. This is the recommended method for redirecting WordPress running on Apache. /path/to/your/wordpress/installation/.htaccess RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.url.com/$1 [R=301,L] This should begin to work immediately.
read moreApache-Tomcat VHost redirection
- Jul
- 18
- Posted by TKH Specialist
- Posted in apache, tomcat
OK this isn’t rocket science however I thought it worth documenting since I will probably forget in 6 months to a year when asked to do this again. The Situation: Tomcat running with an Apache front-end using AJP to pass all traffic through to Tomcat after authenticating against CAS. The Problem: The tomcat application did […]
read moreHTTP to HTTPS
- Feb
- 15
- Posted by TKH Specialist
- Posted in apache
If you want to force all of your site traffic to use HTTPS or a specific part of your website, here is how to do it: Whole SIte : RewriteEngine On # This will enable the Rewrite capabilities RewriteCond %{HTTPS} !=on # This checks to make sure the connection is not already HTTPS RewriteRule ^/?(.*) […]
read moreRecent Comments
- Stefan on Flush This!
- Timestamping your Bash History | Matt's Entropy on Remember when you issued that command…?
- Matt Smith on Remember when you issued that command…?
- Ruan on Putting ‘lsof’ to use
- Dylan F. Marquis on External Mapping of LDAP attributes in CAS