Home › Forums › Calendar Products › Events Calendar PRO › Compatibility with site search (for custom content types)
- This topic has 5 replies, 2 voices, and was last updated 11 years, 8 months ago by
Brian.
-
AuthorPosts
-
August 18, 2014 at 5:05 am #680763
csikimacko
ParticipantWhen 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.
August 18, 2014 at 4:48 pm #682070Brian
MemberHello,
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!
August 19, 2014 at 5:40 am #683466csikimacko
ParticipantHello 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.
August 19, 2014 at 8:37 am #683800Brian
MemberHello,
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!
August 21, 2014 at 8:16 am #689114csikimacko
ParticipantHello 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.)August 22, 2014 at 7:13 am #691495Brian
MemberOk 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!
-
AuthorPosts
- The topic ‘Compatibility with site search (for custom content types)’ is closed to new replies.
