• I have seen countless posts on this topic and my permalinks are still not working and I’m at my wits end. Any help would be a blessing.

    I’ve tried every structure but I’ve been staying with /%year%/%monthnum%/%day%/%postname%/ as I try other things to resolve the issue. Note: if I add /index.php/ before the /%year%/ it works (the supposed Almost Pretty PathInfo pretty links)

    Unfortunately, I can’t give out a url as it’s internal.
    Environment
    Apache:Apache/2.2.14 (Unix)
    Wordpress 3.2.1

    Thing’s I’ve checked:
    .htaccess: writable by server. Writes out the following rewrite rule and successfully changes based upon the permalinks structure I choose:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    # END WordPress

    Everything is installed in the html directory below the blog directory.
    so my folder structure is /var/www/development/blog/html/

    mod_re_write module: is installed and working in other places on the server (including another WP Blog).

    Added a category and tag base to resolve an issue that was in 2.6 (not really needed but trying anything at this point).

    File directives: I created a conf file that is normally in my vhosts.d diretory but I even placed a conf file in the document root to allow for AllowOverride All. Note: We have a WP blogs installed that actually does have permalinks working but it was installed by someone who is no longer here. This conf file is a duplicate of what they created but with minor changes (ie DocumentRoot, Directory values) This conf file is being read as the error logs are being created if they don’t exist.

    <VirtualHost 192.168.4.101:80>
    DocumentRoot /var/www/development/blog/html
    ServerName myservername.com

    ErrorLog logs/WPblog-error_log
    CustomLog logs/WPblog-access_log common

    <Directory “/var/www/development/blog/html”>
    AllowOverride All
    Options FollowSymLinks -Indexes
    Order Allow,Deny
    Allow from All
    RewriteBase /
    RewriteEngine On
    </Directory>

    <Files ~ “\.(csv|conf|development|production|staging)$”>
    Order allow,deny
    Deny from all
    Satisfy All
    </Files>
    </VirtualHost>

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

    (@bpercival)

    Problem Solved.
    the .htaccess file just is getting read.
    The previous person has many conf files and I found multiple conf files which specify Alloveride None. Once I elliminated that, it worked.

    For anyone who cares, I discovered the problem but following this tutorial on testing if the .htaccess file is being used. Instructions are basically create 3 files. an html page, .htaccess file which requires authentication and a .htpasswd file with the username/password. If you don’t get the prompt, the .htaccess file isn’t being read.

    https://www.webune.com/forums/how-to-check-if-server-support-htaccess.html

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks 404 Death!’ is closed to new replies.