WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess file problem (4 posts)

  1. thinkdolphin
    Member
    Posted 2 years ago #

    I am trying to install multisite. I followed all of the steps and when I tried to login again I got an Internal Server Error.

    I believe that it's the .htaccess file. It wasn't there when I installed WordPress initially. I just created one and put the code for multisite in it. When I deleted the code and resaved the file I was able to bring up WordPress again. I'm not sure what's going on there.

    I can see the Network Admin dashboard so I'm confused.

    This is the code I have in the .htaccess file:

    RewriteEngine On
    RewriteBase /Wordpress/
    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]

    Thanks!!
    Dawn

  2. Does your host support mod_rewrite?

  3. thinkdolphin
    Member
    Posted 2 years ago #

    It's on my local network. On my own laptop.

  4. Well, then, did you enable Mod_rewrite? :D

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.