mikewire
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Cannot get subdomains to work on my serverI’ve followed the steps in that article
1) Set the webmail services to resolve before the subdomain names (in /etc/httpd/conf.d/)
2) Set the Domain wildcard subdomains in Apache (in /var/www/vhosts/domain.com/conf/)
3) Set the DNS to know where to send page requests with wildcard domain addresses (in DNS settings)
4) Reset the Permalinks of your WordPress Home blog (don’t mistakenly do it in a sub blog and wonder why it’s not working … like I’ve done before).Any idea what could be wrong?
These are the contents of my .htaccess file:
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]<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule># compress the files
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
# removes some bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent# 480 weeks
<FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$”>
Header set Cache-Control “max-age=290304000, public”
</FilesMatch># 2 DAYS
<FilesMatch “\.(xml|txt)$”>
Header set Cache-Control “max-age=172800, public, must-revalidate”
</FilesMatch># 2 HOURS
<FilesMatch “\.(html|htm)$”>
Header set Cache-Control “max-age=7200, must-revalidate”
</FilesMatch>Same issue here. Would appreciate an update to this as well.
I also tried to do a hard replacement of the terms/term_taxonomy and term_relationships table – but to no avail