Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 12578

No-www refers to questions regarding the usage of domains without the A record www in front of the domain; topics may include questions regarding the removal of www, virtual host configuration, or the redirection process.

1 vote

Why is my no-www redirect taking over 2 seconds?

As alfasin correctly notes, you have at least two problems. The first is that you're issuing the redirects from within WordPress, which means that the entire WP app needs to start up just to return t …
Ilmari Karonen's user avatar
1 vote

example.com to www.example.com .htaccess redirect working except one subdir

Here's the relevant snippet from my .htaccess that works for me. I'm going in the opposite direction from you (from http://www.vyznev.net to http://vyznev.net), but the principle should be the same: …
Ilmari Karonen's user avatar
9 votes
Accepted

Apache Rewrite Rule non-www to www + http to https + remove trailing slash

For your first two rewrites (non-www → www, http → https), the following rule should work: RewriteEngine On RewriteCond %{HTTPS} off [OR] RewriteCond %{HTTP_HOST} !=www.example.com [NC] RewriteRule …
Ilmari Karonen's user avatar