Forums

“Day and name” and “month and name” permalink settings are not working (1 post)

  1. c01
    Member
    Posted 3 months ago #

    When I set permalinks to the "Day and name" setting (/2012/02/01/sample-post/) or "Month and name" setting (/2012/02/sample-post/) in the admin, all of the permalinks on my site stop working. Whenever I click on one, it causes a 302 redirect that sends me back to the front page.

    The "default" (?p=123) and "Numeric" (/archives/123) settings work fine, however.

    I've tried flushing the rewrites but it hasn't fixed the issue.

    This is what the htacccess looks like:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

Reply

You must log in to post.

About this Topic