• 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)
  • 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.

    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.