• Resolved WPtesting

    (@wptesting)


    I’ve installed a multisite(sub-domain) without .htaccess file and site is running properly. if i upload that .htaccess file, it shows some internal server error.
    There is no .htaccess file in my root dir. Will it create any problem in near future?

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

    (@ipstenu)

    ?????? Advisor and Activist

    There is no .htaccess file in my root dir. Will it create any problem in near future?

    Can you get to all your subdomains and see all the images etc therein?

    Thread Starter WPtesting

    (@wptesting)

    No, just now I’ve checked it..
    But If i put that htaccess code, it shows some internal server error.
    What to do?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’re you putting in the .htaccess?

    What’s the error? Is it an error 500?

    Thread Starter WPtesting

    (@wptesting)

    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]

    Ya it’s “500 Internal Server Error”.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Two options.

    1) You’re saving the file in a bad format with hidden characters

    2) You’re not on Linux.

    Does your host have directions on how they want you tpo update .htaccess?

    Thread Starter WPtesting

    (@wptesting)

    Right it’s the 1st one…
    Thanks ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘.htaccess issue’ is closed to new replies.