Title: Problem with permalinks
Last modified: February 7, 2017

---

# Problem with permalinks

 *  [silentcolors](https://wordpress.org/support/users/silentcolors/)
 * (@silentcolors)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/problem-with-permalinks-50/)
 * I have my permalink structure set to /archivo/%postname% and everything seems
   to work fine, except for the calendar. Calendar links are now /%pos so there 
   is something wrong in there.
    this is what I’m using in my .htaccess file: ` 
   <ifmodule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteRule ^archivo/(.*)/(
   feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA] RewriteRule
   ^archivo/?(.*) /index.php?category_name=$1 [QSA] RewriteRule ^author/(.*)/(feed
   |rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA] RewriteRule 
   ^author/?(.*) /index.php?author_name=$1 [QSA] RewriteRule ^([_0-9a-z-]+)([0-9]
   +)?/?$ /index.php?name=$1&page=$2 [QSA] RewriteRule ^([_0-9a-z-]+)/(feed|rdf|
   rss|rss2|atom)/?$ /wp-feed.php?name=$1&feed=$2 [QSA] RewriteRule ^([_0-9a-z-]
   +)/trackback/?$ /wp-trackback.php?name=$1 [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] </ifmodule>  Also I’ve noticed that
   if I set the permalink structure to /%year%/%month%/%day%/%postname% everything
   goes fine, including the calendar. Does this mean that I need to include date
   in my permalink structure for the calendar to work?Ã‚Â¿ Is there anything I can
   do to tell the calendar to keep using normal links (index.php?d=xxxxxx) ?Ã‚Â¿
   Thank you !!

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

 *  [Sushubh](https://wordpress.org/support/users/sushubh/)
 * (@sushubh)
 * [21 years, 8 months ago](https://wordpress.org/support/topic/problem-with-permalinks-50/#post-90143)
 * 1.2 in that sense is buggy as far as i know. there was supposed to be a fix. 
   never found it myself, so i removed the calendar all together.
    maybe its fixed
   in 1.3… but in 1.2 out of the box, calendar does nto appear correctly for non-
   standardized URI format.
 *  [icheyne](https://wordpress.org/support/users/icheyne/)
 * (@icheyne)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/problem-with-permalinks-50/#post-90317)
 * Change line 104, which is in the function get_day_link, of wp-includes/template-
   functions-links.php from
 * if (” != get_settings(‘permalink_structure’)) {
 * to
 * if (” != get_settings(‘permalink_structure’) && strpos(get_settings(‘permalink_structure’),‘%
   day%’) !== false) {

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

The topic ‘Problem with permalinks’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [icheyne](https://wordpress.org/support/users/icheyne/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/problem-with-permalinks-50/#post-90317)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
