0

i wanna have a permalinks like this:

*.com/2019/10/02/0001

*.com/2019/10/02/0002

*.com/2019/10/02/0003

...

*.com/2019/10/02/nnnn

.

and the next they the number should be reset to 0001, and start again.

or the other thing i think it can be done is to edit the logic of the $post_id, and change it to this format: "year-month-day-number" without any dashes of-course. and the number should increase from 0001. and the next day it start again from 0001.

what shall i do fellas? or any plugins to do this?

  • What is it you are trying to build? Those URLs wouldn't be very user-friendly, nor SEO-friendly. – jasonp Oct 2 '19 at 18:10
  • good question. its not a website for seo. its like a panel to indicate our formal letters with numbers. the website will be offline and fully private for other visitors. – Nima Metana Oct 2 '19 at 19:47

Your Answer

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

Browse other questions tagged or ask your own question.