• Essentially, if I leave the permalink settings on Default (?p=123) my whole site works fine (wordpress 2.8.4): pages and posts (both numbered in the hundreds) show up accordingly. The second I change it to anything else other than Default, they come up not found.

    I monitored the root of the installation because I have it set up to show a static front page and then redirect to the /wordpress folder for the administration (found in the Settings > Reading panel). In the root of the installation, .htaccess is changed every time I select and save a permalink setting, so I don’t think I have a permissions issue.

    Here’s what my .htaccess says when I set it to Default:

    # BEGIN WordPress

    # END WordPress

    When I set to anything else besides Default, say.. Month and name, it changes to:

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

    # END WordPress

    Which basically says that WordPress is able to write to .htaccess just fine… index.php is also found within both the root of the installation and the /wordpress folder. I copied over to the root after reading a Codex page here on
    giving WP its own directory.

    I also receive no errors whatsoever from the Dashboard upon saving the permalink structures.

    Further, it doesn’t make a difference when I tail -f -n error.log, in /var/log/apache/, with either setting to Default or Month and name, the report back is “File does not exist:” but then why would it? Everything is served dynamically in either setting. And as I said earlier, when it’s set to Default, my hundreds of pages are served without an issue…

    This is a huge problem for me… can anyone offer any insight?

Viewing 4 replies - 1 through 4 (of 4 total)
  • mod_rewrite is not installed. Google ‘install mod_rewrite’ for instructions.

    I hope this helps.

    Thread Starter captainmorgan

    (@captainmorgan)

    Although mod_rewrite was not initially installed I proceeded to successfully install it via a2enmod (I checked /etc/apache2/mods-enabled/ and it’s there like it should be), and yet after restarting apache2 and clearing out all the browsing cache, history, cookies, etc.. the same problem is persisting.

    Add a RewriteLog directive and add some “wrong” Rewrite directives and check if mod_rewrite logs anything.

    Let us know.

    Thread Starter captainmorgan

    (@captainmorgan)

    Pinoy, I’m not sure what you mean by wrong directives… but changing the WP and Blog urls to not include www seemed to work. After subtracting ‘www’ from the Settings > General, every permalink and default structure works.

    I found this idea from searching for a different problem (which is still unfixed at the moment):
    Mike’s WP Plugins: Blank Page after Posting Comments

    I’m really not interested in messing around further with apache configs, even though I can tell it to write to a log… but they were copied over from a previously working server. There’s just some minor glitch that I’m overlooking or maybe the new upgrade did something to make it not like ‘www’.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Permalink issue or .htaccess? Or something else?’ is closed to new replies.