Compatibility with site search (for custom content types)

Home Forums Calendar Products Events Calendar PRO Compatibility with site search (for custom content types)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #680763
    csikimacko
    Participant

    When Pretty Permalinks are OFF, I can include ‘tribe_events’, ‘tribe_organizer’ and ‘tribe_venue’ in my website search but when someone tries to view the results at their URLs only events work, ‘?tribe_venue=somevenue’ and ‘?tribe_organizer=someorganizer’ throw an error.

    When Pretty Permalinks are swithed ON, previously added elements appear in search results with same URL ‘mysite.com/0’.

    Elements added when Pretty Permalinks are already ON, have their their right URLs in site search.

    #682070
    Brian
    Member

    Hello,

    Sorry you are not able to get the search the way you want it.

    I have some questions to help clarify what you are trying to do and there I can help get you in the right direction.

    The Events Calendar requires pretty permalinks so that should be the setting to get search to work how you would like it.

    What happens when Pretty Permalinks are turned on and you search? Does everything show there that you would like, what shows correct and what is wrong?

    What is showing  a wrong url in the search results and can you please provide examples?

    Any other information you can provide including screenshots will help out and then I can get back to you.

    Thanks!

    #683466
    csikimacko
    Participant

    Hello Brian,

    thanks for the reply. First of all I was not aware that The Events Calendar requires pretty permalinks. I think it’s not made obvious.

    So I started with pretty permalinks disabled and Venues and Organizers showing up in Site Search had their distinct but failing URLs (‘?tribe_venue=somevenue’ etc.).

    When I switched on pretty permalinks later, the problem was that previously added Events, Venues, and Organizers had all the same, non-functional ‘mysite.com/0′ URL.

    Any Event, Venue, or Organizer added since pretty permalinks are switched on work fine with site search.

    #683800
    Brian
    Member

    Hello,

    So I was mistaken pretty permalinks are required for the Community Calendar Add On and that does notify you with a message in the admin to turn those on.

    However, if you are having issues with default permalinks, but the pretty ones are working for new events that is most likely going to be how it is setup on your site.

    Are you able to unpublish and then republish any of the old events, venues, or organizers that have the bad links and does that fix the linking issue?

    Are you running any caching or transients that might save the old links in the search?

    Please let me know if that resolves the problem and we can go from there.

    Thanks!

    #689114
    csikimacko
    Participant

    Hello Brian,
    Unpublishing and republishing may have been a solution, instead I’ve opted for a free WP plugin called Reset Slugs to regenerate the pretty permalinks. (N.B. this one regenerates every slug not just the missing ones.)

    #691495
    Brian
    Member

    Ok great sounds like the issue is resolved.

    Since the issue is resolved I am going to go ahead and close this ticket. If you have a similar issue or another in the future, please do not hesitate to create a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Compatibility with site search (for custom content types)’ is closed to new replies.