• I read this (https://codex.www.ads-software.com/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 https://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?

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