Support » Fixing WordPress » 2.8RC1 Permalink options include “index.php” – broken otherwise

  • I have this old bug in a fresh installation of WordPress 2.8-RC1:
    http://wordpress.org/support/topic/189058?replies=1

    Namely, the permalinks settings include the URL to my website with the suffix “/index.php” followed by the kind of permalinks you want. I tried making a custom permalink structure of just “/%year%/%monthnum%/%postname%/” but then pages, like “About”, would not appear — they only appeared if “/index.php/%year%/%monthnum%/%postname%/” was used.

    ~Andrew~

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter AndrewRH

    (@andrewrh)

    Any help on this one?

    By the way, I’m using Linux. I have tried reinstallation (including fresh database); and I’ve tried installing 2.7.1 — all with same result: the index.php is still part of the permalinks URL.

    Also, I have separate installations of WordPress (2.7.1) for other websites. All but one of them also show ‘index.php’ in the permalinks, except that I can set and use that custom permalink shown in my previous posting.

    Interestingly, one of these other installations doesn’t have the problem at all (it doesn’t show the index.php, and so I can use one of the standard choices for permalinks, instead of a custom one).

    I copied over the php.ini and the .htaccess files from this working site of mine but that didn’t help.

    My server’s stats:

    Apache version	2.2.11 (Unix)
    PHP version	5.2.9
    MySQL version	5.0.77-community
    Architecture	i686
    Operating system	Linux
    Kernel version	2.6.28.8-VISION
    cPanel Pro	1.0 (RC1)

    ~Andrew~

    A forth reinstall, and a bit of patience sorted it. Plus, just for good measure, I put ‘category’ and ‘tag’ into the ‘category base’ and ‘tag base’ fields. I created a new page and it…didn’t work. So, I just waited, thinking my host and the network may just need a bit of time to catch up with the changeover to the new ‘pretty permalinks’ and sure enough, it started working after about 5 minutes.

    I had this problem on a Debian box I was configuring. It turns out the fix was Apache-involved, not WordPress.

    WordPress version:
    2.8.1

    Apache version:
    Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny3 with Suhosin-Patch

    Problem:
    mod_rewrite would not produce Permalinks.

    Fix:
    See WordPress Codex: http://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks

    I added the above information to my /etc/apache2/sites-available/default (choose your site) under the <Directory /> and <Directory /var/www> (choose your directories accordingly), viz.:

    Options FollowSymLinks (hint: this one was already there)
    AllowOverride FileInfo
    AllowOverride All (this was set to None by default)

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    AllowOverride FileInfo
    AllowOverride All (this was set to None by default)

    You don’t need both of those. Just the first one is enough.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘2.8RC1 Permalink options include “index.php” – broken otherwise’ is closed to new replies.