وردپرس

Permalink issue / searches


Replies: 0

My client’s calendar has many, many dozens of events every month. We have been getting feedback that people are having trouble finding events because of this – if they don’t know the date, they have to do a lot of scrolling or searching on the calendar grid. I was asked to implement a way to SEARCH for events – I looked into the documentation and your paid extensions, and it doesn’t appear that an events-specific search is a feature (but would love if there was one.)

SO – we have just a regular site-wide search, and I simply instructed people to use that to search for the events they are looking for. Bad mistake – because it doesn’t work.

The event details pages that open from any of the calendar views have URLs like:
https://watersideresidents.com/events/?event=15275

But when I search using the sitewide search, the same event comes back as:
https://watersideresidents.com/event/mens-strength-training/

And in the case of recurring events, from search it just appends a number after each successive URL, such as:
https://watersideresidents.com/event/mens-strength-training-2
https://watersideresidents.com/event/mens-strength-training-3
and so on…

When anyone clicks on the links from the search page – it just redirects them to the home page, it doesn’t open the event as it should

Can this be fixed – so either the events themselves have the URL with the event slug, or the search returns the URL with the ID?

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا