301 redirects

  1. R

    Redirect whole domain except 1 directory

    Hi all, I am trying to redirect a whole domain except 1 directory - this is the code i have: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTPS} off RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI}...
  2. dsoneil

    Redirect 301 Issues

    Hello, I recently setup an OLS server (1.4.41) on Ubuntu 18.04 w/ LSPHP 7.2 running WordPress (WP) and it works great, however redirect 301's are causing me some headaches. Rewrite is enabled, and LSCache is installed on WP. It works fine and the rewrite to remove WP index,php is working...
Top