First bugs. My permalink structure is /category/year/month/postname/. The rewrite rules generated by WP contain the following lines, any of which gave me a 500 Internal Server Error:
RewriteRule ^category/(.+)/(feed|rdf|rss|rss2|atom)/?$
/index.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^category/(.+)/page/?([0-9]{1,})/?$
/index.php?category_name=$1&paged=$2 [QSA]
RewriteRule ^category/(.+)/?$ /index.php?category_name=$1 [QSA]
[…]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/([^/]+)/trackback/?$
/index.php?category_name=$1&year=$2&monthnum=$3&name=$4&tb=1 [QSA]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/([^/]+)/(feed|rdf|rss|rss2|atom)/?$
/index.php?category_name=$1&year=$2&monthnum=$3&name=$4&feed=$5 [QSA]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/([^/]+)/page/?([0-9]{1,})/?$
/index.php?category_name=$1&year=$2&monthnum=$3&name=$4&paged=$5 [QSA]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/([^/]+)/?([0-9]+)?/?$
/index.php?category_name=$1&year=$2&monthnum=$3&name=$4&page=$5 [QSA]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$
/index.php?category_name=$1&year=$2&monthnum=$3&feed=$4 [QSA]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$
/index.php?category_name=$1&year=$2&monthnum=$3&paged=$4 [QSA]
RewriteRule ^(.+?)/([0-9]{4})/([0-9]{1,2})/?$ […]
lire le billet »