DNS error – Potential Issue with .htaccess and permalinks?
-
I have buddypress installed and mostly working correctly with one exception. When someone creates a new blog, they are given an address that looks like this:
newuser.mybpsite.com
But when you visit that link, you get an error that says:
DNS error – cannot find server
I think it could be a problem with my .htaccess file or how permalinks are set up or some other setting I have missed, but I am just not sure. I haven\’t been able to find a solution in the forums, so potentially I am just looking for the wrong terms. Could someone help me out? Here is a copy of my .htaccess file:
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
‘# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>’
- The topic ‘DNS error – Potential Issue with .htaccess and permalinks?’ is closed to new replies.