Module

Developer
Supported

Sitemap Module

ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Using Year, Month, and Day in URL

Support (Resolved)

tinchco
tinchco

Our news site uses a URL structure containing year, month and day.

Example: http://site.com/2015/04/27/yes-daniel-bruehl

I tried using {entry_date format=”%Y/%m/%d”} in the URL field of our Articles Channel, but the tag doesn’t render when viewing the sitemap. How can we go about reflecting our date-based URL structure? Love how simple it has been to set up so far.

PutYourLightsOn
# 1
Developer
PutYourLightsOn

currently entry_date with formatting is not a supported tag, but i will try and add this feature in the coming days

tinchco
# 2
tinchco

That would be much appreciated! So easy to use and I like that it just takes care of itself. Would love to use it without having to change our URL structure.

tinchco
# 3
tinchco

Any chance this feature will be added soon? Would love to use the add-on I bought with a site we just launched. Thanks!

PutYourLightsOn
# 4
Developer
PutYourLightsOn

putting {entry_date} in the URL field should already output the entry date in the format YYYY/MM/DD. is that the format you need?

tinchco
# 5
tinchco

You’re correct! Sorry for misunderstanding.

PutYourLightsOn
# 6
Developer
PutYourLightsOn

no problem, i’ll clarify this in the docs for future reference.

PutYourLightsOn
# 7
Developer
PutYourLightsOn

fyi i’ve added the ability to format the entry date in version 2.6.5