Add Year to Event URL

Home Forums Calendar Products Events Calendar PRO Add Year to Event URL

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #814293
    joncrowell
    Participant

    I have some events that will be recurring year after year, likely with the same exact name. Is there a way to add a year to the URL, similar to the way WordPress handles posts.

    So instead of http://www.mysite.com/event/single-post-name
    I would want http://www.mysite.com/event/2014/single-post-name

    Thanks!

    #814349
    Brian
    Member

    Hello,

    I can answer your question. There is no feature out of the box to do that with the Events Calendar.

    It is possible to do that, but it is not an easy customization 🙁

    I am going to quote another team member from another ticket here as the information is relevant to your question:

    “If you have a knowledge of PHP or Apache mod rewrite, you should be able to do what you need. Using mod rewrite you could replicate the rewrite rules (found here). Obviously you would want these rules to have precedence over the WordPress ones. I believe you would need to add the [L] condition and put them above the WP rules to get it working properly.

    Or, you could add or override Tribe rewrites in a plugin of your own, or your theme’s functions.php file. You could essentially copy our rules above but change them around to include your custom directory.”

    If you think that is something you would like as a feature I encourage you to visit our User Voice Page and either upvote an existing request or make a new request there.

    http://tribe.uservoice.com/

    Let me know if that answers your question.

    Thanks

    #865113
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add Year to Event URL’ is closed to new replies.