• Resolved ejain

    (@ejain)


    Just installed WordPress 2.0. Seems to work fine, but when I choose “Customize Permalink Structure” > either “Date and name based” or “Numeric” accessing a blog post results in a 404 message (rendered by WordPress).

    This is the .htaccess file that WordPress generated:

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

    # END WordPress

    As you can see, WordPress is installed in a “blog” subdirectory. If I remove or modify the .htaccess file I get Apache error pages, so clearly the file is having some effect…

    Running on Apache 1.3.33 + PHP 4.4.1

    I also tried using a wordpress-2006-01-01.tar.gz from somewhere, and patching functions-post.php + classes.php (as described in another post on this forum), but none of this seems to help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ejain

    (@ejain)

    Just moved WordPress into the root directory, and the problem persists, so it isn’t related to the /blog/ in the path…

    I’m having a similar problem. A fresh new install of v2.0 and accessing posts from the sidebar does not work.

    I chose https://<site>/2006/01/27/sample-post/ for permalinks and the .htaccess file looks ejain’s, but RewriteRule . /blog/index.php is RewriteRule . /index.php.

    Attempts to access:
    https://<site>/category/<category>/ returns 404.
    https://<site>/2006/01/ all fail, but returns 404
    https://<site>/2006/03/15/<postname>/ works.

    This is quite baffling. I’ve searched through all the support forums and it seems to me that there are quite a few errors of this nature being reported.

    Things, like different things work or not depending on theme chosen, etc.

    BTW, as another piece of information, if I choose Classic theme, instead of the Default theme, then archives work and the categories now return, “Sorry, no posts matched your criteria.”

    Aaarrrgghhh!

    Is it just configuration problems or is this symptomatic of an underlying problem.

    Kev

    Thread Starter ejain

    (@ejain)

    After moving to a host with Apache 2.0, all is fine…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize Permalink Structure -> 404’ is closed to new replies.