2

# Redirects http to https protocol RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} Your HTTP to HTTPS redirect is in the wrong place. It needs to be at the top of your .htaccess file, immediately after the RewriteBase directive and before the www to non-www redirect. (You are also missing R and L flags to trigger a permanent ...


2

I want to redirect all traffic reaching example.com to example.app (i.e. the .com is a pure redirect). Does that have any impact on SEO? It means that any links to the .com will pass some link juice to the .app domain, though less than if the .app domain were linked directly. I am fairly certain that there are no other SEO implications. So, fairly useless ...


2

# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.example\.com [NC] RewriteCond %{REQUEST_URI} !exclude RewriteRule ^(.*) http://subdomain.example.com/$1 [L,R=301] RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &...


Only top voted, non community-wiki answers of a minimum length are eligible