0

Expression engine archive is showing link in this manner eg.

    {exp:channel:month_links channel="news" limit="50"}
    {month}, {year}<br>
    {/exp:channel:month_links}

http://www.example.com/news/archives/2015/09

how to change it like in this way

http://www.example.com/news/archives/2015/9

  • This could be done with an .htaccess rule utilizing mod_rewrite and mod_proxy, but to break a standard for date formatting seems strange, and too much work/maintenance. You'd have to live in an obscure (no offense!) country that has a quirky date format. – jrothafer Sep 30 '15 at 13:02
0

This is unfortunately not possible with ExpressionEngine's default month_links functionality.

Your options are:

{month} - Month, long format: September

{month_num} - Month, numeric: 09

{month_short} - Month, short format: Sep

EE archive_month_links documentation

Hope this helps you.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.