Viewing 15 replies - 1 through 15 (of 29 total)
  • Thread Starter mymorningstory

    (@mymorningstory)

    I realize @ first this post was blocked from people posting on it. The problem has been now fixed, and would love to hear any one of your comments ??

    Here is my htacess file as of so far:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Yeah, all those issues are related. It’s actually *not* reading the htaccess file properly.

    Thread Starter mymorningstory

    (@mymorningstory)

    Thx Andrea, Do you know what causes this?

    Thread Starter mymorningstory

    (@mymorningstory)

    Andrea, i have been chatting w/ my host company throughout the day and they informed me that:

    “The .htaccess file is being read correctly. That is how you are able to use the subdomains on this WordPress site, and it is also why pages such as this load:

    https://poetry.mymorningstory.com/2010/10/07/hello-world/”

    So, I feel like I am at a loss w/ everything lol

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Change your .htaccess to this:

    # BEGIN WordPress
    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

    I don’t think it’ll fix everything, but let’s get a more efficient redirect rule setup going, for starters.

    Also, double check that you have the wp-includes/ms-files.php file in there. It looks like you upgraded from wpmu so that may be an issue. You may be missing a file.

    Thread Starter mymorningstory

    (@mymorningstory)

    thx,
    I went and updated the htaccess file but no luck. I saw your ms-files.php suggestion in another persons question and it doesn’t seem to be that issue as well.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Was everything working on WPMU and, if so, when did it stop?

    Thread Starter mymorningstory

    (@mymorningstory)

    I installed WP a while back, and had hostgator guide me on the installation of WPMU a few months ago. It has always has this problem since installation, but this was the first time I addressed it, as I honestly didn’t realize the problem went past buddypres’s avatar images until today. (Today I started working on the sub sites)

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Okay, then if it’s always had the problem, then it’s MOST likely with mod rewrite. Tell hostgator that the server isn’t reading the htaccess completely as it won’t parse all the requests. If it was working correctly, the images would redirect cleanly.

    Thread Starter mymorningstory

    (@mymorningstory)

    sent them a ticket, agh we will await their words.

    And to back up what Ipstenu said (and expand on what I posted the first time) if the htaccess was being read, the sub blogs would show their css properly.

    That is the first clue.

    The .htaccess file is being read correctly. That is how you are able to use the subdomains on this WordPress site

    HG is *wrong*, the subdomains are done via wilcard. the subfolders are done via htacess, and are clearly not working.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Pretty permalinks (i.e. the hello-world name in posts) imply that at least PART of the htaccess is working, but …

    You’re not updating htaccess.dist right?

    Wow, every page that does work put a “log in” in the browser title bar…

    Thread Starter mymorningstory

    (@mymorningstory)

    @ipstenu – I had pretty permalinks working for some time, and it worked before this became wordpress multiuser. I am not updating the htaccess.dist file either. I am using a mac, and had to turn on all my hidden files just to see the htaccess file when I downloaded it ??

    @andrea – i’m not sure what you mean about the *log-in* in the title bar. Currently I am using a plugin for buddypress that has a drop down log-in menu.

    (So I have contacted host gator multiple times at this point, and they are now just asking me how to reproduce the problems. So there has been some progression, but still waiting on answers.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    So it worked BEFORE you went to WPMU, and has been broken ever since you changed TO multisite…

    When you put the new .htaccess entires in, you did replace the old stuff and not add-to, right?

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘subdomains improperly linking images’ is closed to new replies.