Support » Themes and Templates » Permalinks and Caldendar/Archived Posts

  • Hi, I have added permalinks to my blog which seems to work (although a trackback ping to another site didn’t work today). The main problem however is that the caldendar and monthly archives don’t work?

    This returns a 404
    http://www.brucelewin.co.uk/blog/2005/01/
    As do the links from the calendar – these don’t have the right address in any case…
    http://www.brucelewin.co.uk/blog/%yea

    I think it is all to do with the permalinks. My mod_rewrite rules are below…

    Any help and comments gratefully received! Thanks 🙂

    >>>
    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /blog/wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^category/?(.*) /blog/index.php?category_name=$1 [QSA]
    RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /blog/wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^author/?(.*) /blog/index.php?author_name=$1 [QSA]
    RewriteRule ^([0-9]{4})/?([0-9]{1,2})?/?([_0-9a-z-]+)?.html([0-9]+)?/?$ /blog/index.php?year=$1&monthnum=$2&name=$3&page=$4 [QSA]
    RewriteRule ^([0-9]{4})/?([0-9]{1,2})/([_0-9a-z-]+)?.html/(feed|rdf|rss|rss2|atom)/?$ /blog/wp-feed.php?year=$1&monthnum=$2&name=$3&feed=$4 [QSA]
    RewriteRule ^([0-9]{4})/?([0-9]{1,2})/([_0-9a-z-]+)?.html/trackback/?$ /blog/wp-trackback.php?year=$1&monthnum=$2&name=$3 [QSA]
    RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /blog/wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /blog/wp-feed.php?feed=$1&withcomments=1 [QSA]
    <<<

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks and Caldendar/Archived Posts’ is closed to new replies.