• Resolved Jaye

    (@dravenloft)


    Fastforward through some panic and migraines and I’ve got this:
    A WP 3.8.1 MU site with about half a dozen sub-blogs using the *.domain.foo format.

    I’ve ripped it down to barebones. Not just disabled every plugin, but removed them.

    I’d really prefer to avoid having to wipe and restore the whole blog — especially since everything is still there, even if it’s not functioning quite right.

    The easiest way to illustrate the problem is by example:
    sandbox is a snapshot from a few months ago of the main site that I made for tinkering with setting, plugins, themes, etc.

    As you can see the images have all gone away. Except they haven’t. They’re still there, intact, proper permissions, et al. on the server if you FTP in.

    Some things of interest:
    1) before the images went away I lost the ability to use permalinks. Pages, posts, categories, and everything has to be navigated by ID tags and I had to restore the permalink structure to default. Turning any kind of rewrite back on just goes back to 404 errors.

    2) I still can’t use permalinks, but for some reason the images aren’t working even by ID.

    3) The images issue is only happening with the subblogs. The main has only the permalink issue.

    I’m not squeamish about editing PHP, SQL, even going in with a hex editor and manipulating the metadata of the bloody JPEGs, but I’ve no idea what I’m looking for and 3 or 4 days of scouring Google has led to an hundred suggestions that didn’t work.

    Plugins — all gone.
    Theme — as you can see, Sandbox has been reverted to the Twenty-Ten theme.
    .htaccess — wiped, restored, rewritten, hacked with umpteen different things ranging in age from 3.0RC problems identical to this, to 3.1.1 versions (nothing happened, but I may have overlooked goofed somewhere)

    I’m at wit’s end.

    I have backups, but I’ve a feeling that what really needs restored is the SQL databases, and that’s such a nightmare and feels like overkill since I’ve a feeling one option somewhere has gotten set to something stupid and could just be fixed if I could simply find it.

Viewing 1 replies (of 1 total)
  • Thread Starter Jaye

    (@dravenloft)

    fixed the problem.

    of all things I had to
    1) make my .htaccess file executable. I’m not sure where I got the wise idea to do this, but it worked.
    2) I had to seed it with

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    3) toggle the pemalink settings to something, back to default, then to what I wanted.

    I don’t know why that worked, I’m not really sure I want to know. but it did.
    And I did experiment — it was the combination of making it execultable AND adding the code to it that did it.

    So — for anyone else with this problem in the future. Try this.

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks have gone mad’ is closed to new replies.