Title: Rewrite Rule problems
Last modified: August 18, 2016

---

# Rewrite Rule problems

 *  [bain](https://wordpress.org/support/users/bain/)
 * (@bain)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewrite-rule-problems/)
 * Using “/archives/%year%/%monthnum%/%day%/%postname%/” as my customised permalink.
   
   The permalink manager gave me a bunch of rewrite rules to add to my .htaccess.
   These include: RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/?([
   0-9]+)?/?$ /index.php?year=$1&monthnum=$2&name=$3&page=$4 [QSA] RewriteRule ^
   archives/([0-9]{4})/([0-9]{1,2})/([_0-9a-z-]+)/ (feed|rdf|rss|rss2|atom)/?$ /
   wp-feed.php?year=$1&monthnum=$2&name=$3&feed=$4 [QSA] RewriteRule ^archives/([
   0-9]{4})/([0-9]{1,2})/([_0-9a-z-]+)/ trackback/?$ /wp-trackback.php?year=$1&monthnum
   =$2&name=$3 [QSA] However… If I have any of these 3 uncommented in my .htaccess,
   I get internal server error. No idea why, as I am a complete newbie when it comes
   to mod_Rewrite related stuffage. Any help on this would be great, thanks.

Viewing 1 replies (of 1 total)

 *  [markku](https://wordpress.org/support/users/markku/)
 * (@markku)
 * [22 years, 2 months ago](https://wordpress.org/support/topic/rewrite-rule-problems/#post-42023)
 * You have to use all of them, and not comment ( // ) any of them. If you had previous
   rewrite rules, that could be the reason for the conflict.

Viewing 1 replies (of 1 total)

The topic ‘Rewrite Rule problems’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [markku](https://wordpress.org/support/users/markku/)
 * Last activity: [22 years, 2 months ago](https://wordpress.org/support/topic/rewrite-rule-problems/#post-42023)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
