Forums

Permalinks (2 posts)

  1. endianx
    Member
    Posted 6 years ago #

    I read this (http://codex.wordpress.org/Using_Permalinks) but couldn't find an answer to my problem.

    My links to articles and such are working, but anything that is a real file or directory does not. For example, if I try and get to wp-admin or my .css file, it can not. If you want an example of what I am talking about, check out http://www.endianx.com.

    In short, mod_rewrite is sending all requests to my index.php.

    Here is the code I am using in my httpd.conf.

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

    It is as if the RewriteCond directives are not working. As I understand it, those conditions should only be validated if the file/directory doesn't exit. And therefor, only requests for files that don't exists should be send to index.php. But that is not what is happening.

    Oh, I should note that the format I am using is /year/month/day/post-title

    Anybody know what might be going wrong?

  2. endianx
    Member
    Posted 6 years ago #

    If nobody knows, could anybody who has permalinks working show me the code you are using?

Topic Closed

This topic has been closed to new replies.

About this Topic