instanttim
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Default site of subdomain networkFor others who might read this thread, I muddled through and updated my .htaccess to do the redirect. I still don’t like that there’s this extra unused blog in the system, but I guess I’ll deal.
Here’s the mod_rewrite code:
RewriteCond %{http_host} ^(www\.)?example\.com$ [NC] RewriteRule ^(/?)$ https://site1.example.com/ [R=301,NC,L]
This has the effect of redirecting any URL with or without a single slash but if there’s any URI (path) at all it leaves it alone.
https://example.com https://example.com/ https://www.example.com https://www.example.com/
all redirect to: https://site1.example.com/
https://example.com/path/to/something https://www.example.com/path/to/something
will remain untouched.
Forum: Networking WordPress
In reply to: Default site of subdomain networkNormally I do use php redirects but I can’t replace the index.php as it would break wordpress so I don’t see how I could make it redirect that way. I figured I could add a rule to .htaccess but i’m not skilled at rewrite rules.
Not to mention, it seems messy to have an actual blog in existence and taking up space in my UI that is not ever used. It seems prone to mistake, i’m sure i’ll accidentally post to it one day.
Why does the documentation never even mention this? Seems like kind of a big miscommunication. You can’t make several parallel or “equal” sites. I of course am okay with having a “default” but this is more like a “main” or “primary” site with sub-sites.
Forum: Fixing WordPress
In reply to: WordPress crashing Apache2, where to get help?My own server (VPS).
I have rebuilt everything several times. No difference. I did recently (yesterday) switch my Apache MPM from prefork to worker. It hasn’t crashed yet but it did hog a lot of memory a few times.
.tim
Forum: Fixing WordPress
In reply to: WordPress causing Apache to go haywireThis is the same sort of “attack” i’m seeing, but mine is just normal blog posts and categories rather than the monthly archive.
Forum: Fixing WordPress
In reply to: Month Archive based DDOS Attack (I think)I am having this same problem! I have such a modest unused blog.. I don’t get it! They aren’t access my archives though, just my normal posts and pages.
Any other solutions? A plugin?