New answers tagged

3

No, top-level domains (example.com) can be redirected independently with regards to their subdomains (www.example.com, notredirected.example.com). The typical setup for what you're describing is to redirect example.com and www.example.com to Domain B, but keep notredirected.example.com serving.


1

RewriteCond %{SERVER_NAME} =bans.example.net [OR] RewriteCond %{SERVER_NAME} =status.example.net [OR] RewriteCond %{SERVER_NAME} =example.net [OR] RewriteCond %{SERVER_NAME} =forums.example.net RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] Change SERVER_NAME to HTTP_HOST. Or, look for UseCanonicalName On in your server config and ...


0

Not totally sure of why you're trying to do this? Maybe you can add more information. If you want to pull content from another server or location, there are several ways to do it - virtual directories, RSS feeds, etc (see links below). However, if you are trying to hide the source of the content from the user, Google would probably interpret that as ...


Top 50 recent answers are included