Title: &#8212; Help &#8212; Permalinks
Last modified: August 18, 2016

---

# — Help — Permalinks

 *  Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/help-permalinks/)
 * I am having some trouble getting permalinks to work with my blog. So after I 
   enabled it, I added the following lines to my .htaccess file:
    ` RewriteEngine
   On RewriteBase / RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?
   $ /wp-feed.php?category_name=$1&feed=$2 [QSA] RewriteRule ^archives/category/?(.*)/
   index.php?category_name=$1 [QSA] RewriteRule ^archives/author/(.*)/(feed|rdf|
   rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA] RewriteRule ^archives/
   author/?(.*) /index.php?author_name=$1 [QSA] RewriteRule ^archives/([0-9]{4})?/?([
   0-9]{1,2})?/?([0-9]{1,2})?/?([_0-9a-z-]+)?/? ([0-9]+)?/?$ /index.php?year=$1&
   monthnum=$2&day=$3&name=$4&page=$5 [QSA] RewriteRule ^archives/([0-9]{4})/([0-
   9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/ /(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?
   year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA] RewriteRule ^archives/([0-9]{
   4})/([0-9]{1,2})/([0-9]{1,2})/([_0-9a-z-]+)/ /trackback/?$ /wp-trackback.php?
   year=$1&monthnum=$2&day=$3&name=$4 [QSA] RewriteRule ^feed/?([_0-9a-z-]+)?/?$/
   wp-feed.php?feed=$1 [QSA] RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /wp-feed.
   php?feed=$1&withcomments=1 [QSA]  After I did that my website got an HTTP 500
   internal server error. I also read [http://faq.wordpress.net/view.php?p=20](http://faq.wordpress.net/view.php?p=20),
   and tried some of the stuff mentioned there like adding  Options +SymLinksIfOwnerMatch
   and <ifmodule mod_rewrite.c> RewriteEngine on RewriteBase /YOURPATHHERE </ifmodule
   >  But nothing seems to work. I am also not sure how I would check if my mod_rewrite
   is enabled or not. Any help would be appreciated, sorry Im not too familiar with
   these kind of things.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/help-permalinks/#post-86358)
 * Oh well i Just used /index.php/archives/%year%/%monthnum%/%day%/%postname%/ that
   for my permalink structure, and it still works without any modifying of the .
   htaccess file 🙂
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/help-permalinks/#post-86367)
 * Did you put the ifmodules around the rewrite rules?
    `<ifmodule mod_rewrite.c
   > RewriteEngine on RewriteBase /YOURPATHHERE ALL OF THE REWRITERULES </ifmodule
   >’
 *  Thread Starter Anonymous
 * [21 years, 9 months ago](https://wordpress.org/support/topic/help-permalinks/#post-86394)
 * I got it working in the end, I downloaded a template file Kubrick [http://binarybonsai.com/kubrick/](http://binarybonsai.com/kubrick/)
   from there and compared a htaccess file the template had with my own and I found
   my problem.
 *  [clay](https://wordpress.org/support/users/clay/)
 * (@clay)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/help-permalinks/#post-86415)
 * What was the problem?
    If you could post an explanation it might help someone
   in the future

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘— Help — Permalinks’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [clay](https://wordpress.org/support/users/clay/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/help-permalinks/#post-86415)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
