• I’ve already responded to one post on this topic with a “yeahthat” sign, but since my situation is subtly different I’m starting my own thread.

    Pretty permalinks have been broken since upgrading to 2.8.5. The main page resolves, but clicking on the post title renders a 404.

    I do not have access to httpd.conf since I’m on shared hosting.

    My .htaccess contains

    AddType x-mapp-php5 .php
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /wordpress-e/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress-e/index.php [L]
    </IfModule>
    
    # END WordPress

    Things I have done:

    1. turned off all my plugins one by one (before I knew this was already on the support forums as a problem)
    2. Deleted my .htaccess file, then changed the permalink structure to force it to be rewritten
    3. Taught the children an ENTIRELY new vocabulary based on frustration

    Please, y’all. For the sake of my sanity and my blood pressure. I have a shiny new domain name just waiting for this to go away.

    Amen.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter tinklebelle

    (@tinklebelle)

    This just in:

    Since I used the auto-upgrade button, I went ahead and down/uploaded manually.

    No dice.

    My heart, she aches for pretty permalinks.

    Won’t you save us from Certain Heartbreak?

    pretty permalinks are ugly on windows server. what hosting server do you use? linux or windows?

    Thread Starter tinklebelle

    (@tinklebelle)

    I’m on a windows server (1and1 Premier Professional Package if that matters).

    However.

    I have four different instances of WordPress that I’m hosting and this one is the only one having problems (as far as I can tell – I’ve looked for the same things I’m dealing with).

    Since the last post I’ve wiped my .htaccess file, switched to the Default/Kubric theme to make sure it isn’t a theme-based issue, and uttered a few more choice words.

    Thread Starter tinklebelle

    (@tinklebelle)

    Deleting all files for a complete/fresh install today (it needed to be done anyway).

    Have you got an .htaccess file anywhere else? Like in a parent directory, or in your wp-admin folder?

    (I didn’t think you usually had .htaccess on Windows hosting?)

    Windows hosting is crap, switch to Linux. This will give you Apache and htaccess. THEN you can do all the things you need and want to do.

    Tinklebelle, try adding a line in at the top, before the wordpress stuff, so it looks like:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    To my knowledge, windows server doesn’t use htaccess. I would probably just ignore it.

    Thread Starter tinklebelle

    (@tinklebelle)

    My host recommended using htaccess if I wanted to use php5 (which I do)

    using the AddHandler command does not seem to have worked.

    I do have another htaccess file, in my backup-db folder. Its contents are:

    <Files ~ ".*\..*">
    order allow,deny
    deny from all
    </Files>

    Thank you all for the suggestions so far.

    Does it work if you change the AddType and AddHandler lines to php4?

    After a quick Google, 1and1 do seem to be running a slightly unusual setup with their servers, so you might just be best off speaking to them. If you’ve got 3 other WordPress installs running on that same server without problems, I can only suggest you go through with a fine-toothed comb looking for subtle differences between them, Permalink structure etc etc.

    (Are you absolutely positive it’s a Windows server? Sure doesn’t sound like it)

    Thread Starter tinklebelle

    (@tinklebelle)

    The subtle differences between the four sites are theme- and plugin- based. Nothing that SHOULD cause this issue.

    Here’s hoping I get someone at the helpdesk that has a clue…

    Thread Starter tinklebelle

    (@tinklebelle)

    1and1 says there’s nothing wrong on their end – I’ve called in three different times.

    I was wrong – I am on a linux server (I was on windows with my previous host).

    Using “AddHandler” had no effect.

    Thread Starter tinklebelle

    (@tinklebelle)

    Also: if I change back to php4, don’t I lose the ability to click-upgrade and install from the site?

    That makes more sense. šŸ™‚

    I was really suggesting switching it temporarily to php4 just to see if it narrowed down the root of the problem, rather than keep it that way permanently. You *may* even have more than one issue causing this, so play about with it and see if you can hunt it down.

    Remember, sometimes even an inactive plugin can cause problems – ie caching plugins that may have altered your wp-config.php file etc.

    Try switching themes, deactivate all your plugins, delete and re-upload the WordPress files if you have to (NOT your wp-config.php file or your wp-content folder though!!).

    Best of luck.

    Sorry, me again. I expect you’re sick of the sight of me already!!

    What Permalink structure are you actually trying to use? If you try a different structure, does that work? What’s your site url?

    Anyway, I did just think of a weird similar-ish error that I had a long while back, that I never did find the exact cause of, but it was related to error pages not being defined. I realise that this is a quite a long shot, but perhaps something here might help too.

    Anyway, it wouldn’t hurt to define these in your htaccess just in case:

    ErrorDocument 400 http://www.example.com/400.html
    ErrorDocument 403 http://www.example.com/403.html
    ErrorDocument 404 http://www.example.com/404.html
    ErrorDocument 500 http://www.example.com/500.html

    Don’t forget to actually create those error pages… even if they are just really basic for the time being.

    Hopefully someone else will chime in with some ideas too.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Pretty permalinks are broken’ is closed to new replies.