ver 2.9.2
If i try to <?php wp_get_archives( $args ); ?> by month or year I get an error, (file not found), but if I try by post is working ¿what must change in the args to get the archives by month.
permalinks are working ok.
ver 2.9.2
If i try to <?php wp_get_archives( $args ); ?> by month or year I get an error, (file not found), but if I try by post is working ¿what must change in the args to get the archives by month.
permalinks are working ok.
What are your $args values?
See the template tag, wp_get_archives(), for a complete list.
Related:
Stepping Into Template Tags
Stepping Into Templates
Template Hierarchy
for example:
<?php wp_get_archives('type=monthly&limit=5'); ?>
Is not working, but
<?php wp_get_archives('type=daily&limit=15'); ?>
is ok
if i use year or monthly I get and error, but the others arg$ are ok
Deactivate all plugins, switch to the WordPress Default theme, then change the wp_get_archives in the wp-content/themes/default/sidebar.php to see if you get the same error.
Thanks for your help, I test that option but with the same result -(,
I migrated from blogger to a test directory and there everithing goes well, then i pass only the index to the root and something is wrong with the archives or htaccess.
The error is 403, not 404
Maybe try deleting any .htaccess then in Settings->Permalinks, switch to the 'default' permalinks.
Thanks,
I do that, but only works everything ok with numeric or default permalinks, if I chose other option the archives don´t work, so I give up and will keep the numeric.
May be the next week i wll try again.
Thanks for your time and help Michael
This topic has been closed to new replies.