• Resolved cedaly1968

    (@cedaly1968)


    So I set up my site so that /Events would be a listing of events, /event would be an individual event from the list and I wanted calendar to be on a page called calendar.

    What I got was the calendar on /event and /events and no listings. In the Settings, the Single Event URL Slug is “event” and Events URL slug is “events”

    I have the below error message but cannot really figure out what I did wrong. Thoughts?

    The page “Events” uses the “/events” slug: the Events Calendar plugin will show its calendar in place of the page.
    Edit the page slug or edit Events settings.

    https://wordpress.org/plugins/the-events-calendar/

Viewing 7 replies - 1 through 7 (of 7 total)
  • That’s not really an error – it’s a warning telling you that you have a WordPress Page with the same slug as the one that The Events Calendar is using.

    Thread Starter cedaly1968

    (@cedaly1968)

    So the Calendar is using the event slug? How do you know what plug calendar is using? Wouldn’t calendar use the plug “calendar”

    The “calendar” view (i.e. the month/day/list views) uses the “Events URL slug” that you set. The “listing of events” and “calendar” you reference in your first post use this same slug.

    See also: https://theeventscalendar.com/knowledgebase/linking-to-specific-event-views/

    Thread Starter cedaly1968

    (@cedaly1968)

    So the Calendar is using the event slug? How do you know what plug calendar is using? Wouldn’t calendar use the plug “calendar”

    Thread Starter cedaly1968

    (@cedaly1968)

    I am totally lost

    I have two pages: Events and Event
    I have an Events URL Slug: events
    I have Single URL Event slug: event

    When I click “Where is my calendar? Right here It goes to the url/events and shows the calendar. But the url event/ also shows the calendar.

    What is the slug for the Single URL Event for?

    The Single event URL slug will show the same view as the Events URL slug if for some reason you link/navigate directly to it. But that’s not what it’s intended for; it’s intended to build the URL for single event pages, e.g. http://mysite/event/this-single-event-page-talks-about-one-event

    While http://mysite/event/ and http://mysite/events/ show the same view, http://mysite/event/single-event-page works, while http://mysite/events/single-event-page will redirect.

    In summary: http://mysite/events/ is intended to show all your events (hence the plural), whereas http://mysite/event/… is intended to build the URL to a single event page. There’s no third distinct calendar slug; that’s incorporated in the Events URL slug http://mysite/events/.

    Hello,

    Thanks @wplid for stepping in 🙂

    Our New User Primer does a great job at explaining how to properly install and activate the plugin.

    Basically, if you’ve created a page with the same slug as what you have entered in Events > Settings > General > Events URL slug, you need to delete the page you created.

    Whatever you entered in Events URL slug under Events > Settings > General is where your main events are listed in whichever format you have selected under Events > Settings > Display > Default view. If you have “List” selected for the Default view setting, it will display your events in list format. To view the calendar (A.K.A. month view), you’d visit your main events page, then enter /month and it will take you to your month view. Same goes for Map view (/map)

    Your single events will all have whatever you set in Events > Settings > General > Single event URL slug before their individual event slug. For example, say you entered /events in the Events URL slug setting and /event in the Single event URL slug setting. Your event URL structure would look like this: http://your-site.com/events (main events page) and http://your-site.com/event/single-event-1 (single event).

    I hope this clarifies any questions or confusion around the matter and please feel free to respond 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Confusion between /event /events and calendar’ is closed to new replies.