• Hello

    I have currently set up WordPress Network on newly created wordpress site, and after setting it to work as ‘subdirectory multisite’ it is giving me Internal Server Error when I set up the .htaccess file using data provided when installing

    How to fix that?

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

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Do you have mod_rewrite enabled on your server?

    Thread Starter theqkash

    (@theqkash)

    Yup, I’m using wordpress-es normally there, configuring rewriting as I want, but this multiuser htaccess is not working 🙁

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    What are you trying to put in the .htaccess? Can you paste it here?

    Thread Starter theqkash

    (@theqkash)

    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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    And you are *replacing* your htaccess file with this content, correct? Not just adding it at the bottom?

    Thread Starter theqkash

    (@theqkash)

    Yup, I’m replacing whole content of that file.

    Thread Starter theqkash

    (@theqkash)

    Support of my webhost have gave me that:

    RewriteRule: bad argument line ‘^([_0-9a-zA-Z-]+/)?files/(.+)’

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+)
    wp-includes/ms-files.php?file=$2 [L]

    You’ve got a carriage return at the end of it. make it all one line.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress Network and Error 500’ is closed to new replies.