Pretty Permalinks and Subdomains
-
I’m using WPMS and have several blogs installed via the subdomain method, e.g. blah.mydomain.com and hello.mydomain.com. I only use the one domain. I’m wondering if it’s possible to have redirects, so that if someone trying to visit mydomain.com/blah or mydomain.com/hello, they’ll get redirected to the appropriate subdomain blog, instead of the “Well, this is somewhat embarrassing…” 404 page that WordPress spits out.
I don’t intend to use categories or other things that might go into a permalink that have the same name as my sites.
My Permalinks are currently set to Day and Name, and I’ve tried saving and re-checking, but the issue persists. I’ve checked my Redirects as set up in cPanel, and tried adding and deleting them, but it still gives me the 404 page.
Here’s my HTaccess:
# BEGIN WordPress Options +FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L] # END WordPress
- The topic ‘Pretty Permalinks and Subdomains’ is closed to new replies.