Skip to:

DNS error – Potential Issue with .htaccess and permalinks?

  • Anonymous

    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:

    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



Viewing 1 replies (of 1 total)
  • The words “DNS error” do not appear in WPMU or BP, so that error is not to do with WPMU or BP. That is going to be host configuration. You need to check with your host to see if you have wildcard subdomains enabled.

    Other places to look would be your Apache (or webserver) error log, to see if Apache even sees the request on a subdomain. Or if you have too many redirects for some reason, this would be flagged up here too.

    Another thought is maybe you have an existing or apache.conf master rule which is re-writing the domains before the WPMU htaccess is read.

    And, that’s what the problem is – it’s not BP not working, it is WPMU not working. Obviously WPMU has to be working 100% for BP to work.

Viewing 1 replies (of 1 total)
  • The topic ‘DNS error – Potential Issue with .htaccess and permalinks?’ is closed to new replies.
Skip to toolbar