Uhoh, I broke it!

Yikes! I am working on building my first WPMU community. It’s been flowing very smoothly and am excited to get it going. At some point, when adding something today, I broke the site.

I can access the main page fine, but when I try to click on anything in the Menu, I get a 404 error.

Here is the URL:

http://stitchx.com/

I have tried switching themes and get the same error.

What would be the most likely problem for this type of problem?

I have added some plugins today, but was mostly checking things in the admin panel and didn’t realize the pages weren’t working for quite a while.

Thanks in advance.

Tracy

WPMU newbie!

  • twinmom
    • Flash Drive

    Thanks for the quick replies.

    Drmike – I do believe mod_rewrite is installed. I ran a test script before I set it up and it seemed to be. It’s a dedicated server (but I am pretty new to that too).

    So, how can I fix this?

    I see that there is .htaccess and htacess.dist

    Which is the problem?

    This makes sense because I was trying to get the Avatar plugin working. When I realized it dealt with the htaccess files – I changed my mind and decided I shouldn’t mess with that just yet.

    I “Thought” I put it back like it was.

    Any suggestions?

    Thanks!

  • Barry
    • DEV MAN’s Mascot

    open .htaccess and htaccess.dist in your editor, they “should” be similar – the important parts are:

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    and

    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]

  • twinmom
    • Flash Drive

    Thanks Sue for that link. That is much easier to follow than the .txt file included (I love pictures!) LOL

    Yes, the manual is great! I used it step-by-step to get it installed and up and running. This membership has been the best purchase I have made in a long time. :slight_smile:

    I’m excited about the site – I’ve been working in the XS industry for about 10 years and I hope this will be well-received.

    Tracy

  • Sue
    • Ex Staff

    Glad those installation instructions helped and especially pleased to hear our WPMU manual worked well for you. The avatar plugin used to cause some issues and since we’ve had the step-by-step instructions our users have found it considerably easier.

    With any of our plugins (or themes) make sure you click on the installation link and follow the instructions on that page. If you come across a plugin that we haven’t yet updated, and you need the information, or it needs to be in more detail please let us know by leaving a comment on this post telling us which plugin – https://vvpmudev.com/forums/topic/updating-themes-and-plugin-installation-pages.

    Well I definitely will be keeping an eye on your site. Although I’ve had less time in the last few years for my cross stitch :slight_frown: