• I am trying to turn on the network on my testing server prior to doing it for my production server. At the network install, I was advised to add specific code to wp-config and .htaccess. Having done that, I would be all set as soon as I logged in again. I cut and paste them in, and promptly got a 500 internal error when I tried to log in again. I looked at the localhost error log, and saw this:

    [Fri Apr 29 21:19:39 2011] [alert] [client 127.0.0.1] C:/Apache2/htdocs/Semantic Law/.htaccess: RewriteBase takes one argument, the base URL of the per-directory context, referer: http://localhost/Semantic%20Law/wp-admin/network.php

    Note, I took the .htaccess code as it was given to me. But looking at this I thought maybe it was trying to tell me that the base should be SemanticLaw.net/wp-admin, but that seems to have made no difference with or without the trailing slash. So I don’t know what’s wrong or how to fix it.

    Here is the code I was given for .htaccess at the network install:

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

    I also ran a search for the language of the error code but came up empty, which I thought was curious since I can’t be the first or only one with this issue.
    As always, your helpful insights greatly appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter natcolley

    (@natcolley)

    Partial solution and new problem.

    By putting quotes (‘escaping’?) around my Base name I solved the 500 error and was taken to the log in, however, I can’t log in. The screen does not shake back and forth the way it does when your credentials are wrong – which they aren’t because they are saved – but the screen does not change and take me to the dashboard. What could this be?

    Thread Starter natcolley

    (@natcolley)

    Ok, I found this finally by changing my search terms:

    http://wordpress.org/support/topic/cant-login-into-admin-mode-from-pc?replies=6
    http://wordpress.org/support/topic/login-screen-continually-repeats?replies=3
    http://codex.wordpress.org/Login_Trouble

    Other than turning off my firewall I have not tried all these options yet, so I will go back to that and return if I am still frustrated.

    http://localhost/Semantic%20Law/

    Make yourself a fake domain on your local box. Use that.

    semantic-law.loc would be a good one. 😉

    Thread Starter natcolley

    (@natcolley)

    Andrea,
    You seem to be something of the local expert on multisite. I thought I knew what I was doing but I keep seeing more possibilities which make me want to re-organize my site plan, but if I keep doing that I’ll never get started. Here’s a couple of simple question for you while I wait for my testing site to behave:
    1) In multisite, are the categories of one blog shared across all others? Is that an admin setting? Same for tags: are they shared by default across the network? Somehow I came into this assuming categories were not but tags were. I may have gotten that from wordpress.com.

    2)Is there a meaningful difference between custom fields and custom taxonomies?

    3)Maybe it would help if you knew what I was after? I want people to be able to search tags, fields, and or taxonomies across the entire network, but each blogs categories are their own. That should be possible. Is it?

    Thx

    Thread Starter natcolley

    (@natcolley)

    p.s. – of course a user should be able to limit his or her exposure to the posts of a single subdomain, whether by tag, category, or search.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    1) No. Cats and Tags are NOT shared.

    2) Uh … Yes, but it’s not my forte.

    3) You would probably want to use Sitewide Tags plugin for that effect.

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