• Resolved palachinka

    (@palachinka)


    I can’t access dashboard for my second blog (I get page not found). Blog also doesn’t display any theme.

    My installation is on godaddy, subdirectories.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What’s in your .htaccess file?

    This is a known issue on GoDaddy and they’ve been less than helpful.

    Thread Starter palachinka

    (@palachinka)

    What’s in your .htaccess file?

    #Wordpress Multi site
    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 Multi Site

    The problem is the account is not actually reading the htaccess file.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    And that’s the wrong .htaccess file.

    Try this. If it still fails, tell GoDaddy your .htaccess isn’t being read.

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress
    Thread Starter palachinka

    (@palachinka)

    Now I’m getting “Error establishing a database connection” 🙁

    Thread Starter palachinka

    (@palachinka)

    Fixed!

    Thank you so much!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Dashboard not working’ is closed to new replies.